affine_doc_loader 0.1.4

AFFiNE document parsing and rendering utilities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod delta;
mod inline;
mod parser;
mod render;

pub(crate) use delta::{
  DeltaToMdOptions, InlineReferencePayload, delta_value_to_inline_markdown, extract_inline_references,
  extract_inline_references_from_value, text_to_inline_markdown,
};
#[cfg(test)]
pub(crate) use parser::MAX_MARKDOWN_CHARS;
pub(crate) use parser::{MAX_BLOCKS, parse_markdown_blocks, parse_markdown_blocks_with_id_hints};
pub(crate) use render::{MarkdownRenderer, MarkdownWriter};