Re-exports§
pub use comment_options::CommentReply;pub use comment_options::DocumentComment;pub use comment_options::DocumentComments;pub use content_parser::HTML_FOOTNOTE_ATTR;pub use content_parser::TABLE_ANCHOR;pub use content_parser::djot_to_plain_text;pub use djot_escape::djot_round_trip_is_lossy;pub use djot_escape::escape_djot_inline;pub use djot_escape::guard_djot_block_start;pub use djot_escape::needs_djot_escaping;pub use djot_escape::plain_text_to_djot;pub use djot_options::DjotExportOptions;pub use djot_options::DjotImportOptions;pub use docx_options::DocxExportOptions;pub use docx_options::DocxHeadingStyle;pub use epub_options::EpubExportOptions;pub use image_options::ExportImage;pub use image_options::ExportImages;pub use image_options::HtmlExportOptions;pub use image_options::HtmlImageMode;pub use latex_options::LatexExportOptions;pub use mark_options::DocumentMark;pub use mark_options::DocumentMarks;pub use mark_options::MAX_BOOKMARK_NAME_LEN;pub use odt_options::OdtExportOptions;pub use odt_options::OdtHeadingStyle;pub use pdf_options::PdfExportOptions;pub use sentence::Sentence;pub use sentence::sentence_bounds;pub use sentence::sentences;pub use text_options::FORM_FEED;pub use text_options::HTML_PAGE_BREAK_STYLE;pub use text_options::MarkdownExportOptions;pub use text_options::PlainTextExportOptions;pub use text_options::markdown_page_break;pub use word_count::CountMethod;pub use word_count::WordCharCounts;pub use word_count::count;pub use word_count::count_djot;
Modules§
- comment_
options - Comment payload shared by every writer that can anchor a margin note into its output —
today DOCX (
super::docx_options::DocxExportOptions::comments), and ODT once its own writer reaches this crate. One definition here, reused by both, is the whole point: a DOCX-onlystruct Commentindocument_ioand a parallel ODT-only one elsewhere would let the two drift the moment a field’s meaning changed in one but not the other. - content_
parser - djot_
depth - A ceiling on how deeply nested a Djot document may be before it is parsed.
- djot_
escape - Turn arbitrary plain text into Djot that renders it back verbatim.
- djot_
options - Per-feature selection for djot import/export.
- docx_
options - Page geometry + base typography for DOCX export.
- epub_
options - Book-level metadata for EPUB export.
- fragment_
schema - image_
options - Image payloads supplied to an export.
- latex_
options - Preamble + image policy for LaTeX export.
- list_
grouper - mark_
options - Named marks a writer anchors into its output as bookmarks — the third export payload,
beside
commentsandimages. - odt_
options - Page geometry + base typography for ODT (OpenDocument Text) export.
- pdf_
options - Page geometry + typography + font bytes for PDF export (via embedded Typst).
- sentence
- Sentence boundaries — the granularity between a word and a block.
- text_
options - Opt-ins for the two flowing export formats.
- word_
count - Pure word/character counting over
&str— no document, no store, no threads.