(&self, key: &str)
| 35 | |
| 36 | impl Directive { |
| 37 | pub fn attr(&self, key: &str) -> Option<&str> { |
| 38 | self.attrs.get(key).map(|s| s.as_str()) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /// Parse all top-level directives out of a markdown body. Prose outside any |
no test coverage detected