Skip to main contentModule parser
Source - latex
- markdown
- org
- pandoc
- Pandoc parses first; snapper reflows second.
- plaintext
- rst
- Region
- A region of text classified by a format parser.
- FormatParser
- Trait for format-specific parsers that classify text into regions.
- check_pragma
- Check if a line contains a snapper pragma.
Returns Some(false) for “snapper:off”, Some(true) for “snapper:on”, None otherwise.
- flush_prose
- Flush accumulated prose into the region list, clearing the buffer.
- parser_for_format
- Create the appropriate parser for a given format.