pub struct MarkdownParser {
pub file_filter: Option<GlobSet>,
}Expand description
Built-in markdown parser. Extracts inline/reference/autolinks and images.
Fields§
§file_filter: Option<GlobSet>File routing filter. None = receives all File nodes.
Trait Implementations§
Source§impl Parser for MarkdownParser
impl Parser for MarkdownParser
Source§fn parse(&self, _path: &str, content: &str) -> ParseResult
fn parse(&self, _path: &str, content: &str) -> ParseResult
Parse a file’s content and return discovered links + optional metadata.
Source§fn parse_batch(&self, files: &[(&str, &str)]) -> HashMap<String, ParseResult>
fn parse_batch(&self, files: &[(&str, &str)]) -> HashMap<String, ParseResult>
Parse multiple files in one call. Default falls back to per-file parsing.
Custom parsers override this to spawn one process for all files.
Auto Trait Implementations§
impl Freeze for MarkdownParser
impl RefUnwindSafe for MarkdownParser
impl Send for MarkdownParser
impl Sync for MarkdownParser
impl Unpin for MarkdownParser
impl UnsafeUnpin for MarkdownParser
impl UnwindSafe for MarkdownParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more