DeltaMarkdown (DeltaMarkdown v0.1.0)
View SourceConvert Quill (Slab) Delta document format to Markdown.
This is useful when you want to use the rich text as context in LLM prompts.
Usage
iex> delta_markdown.to_markdown([%{"insert" => "word\n"}])
"word"
Supported features
Inline
- ✅ Bold - bold
- ✅ Italic - italic
- ❌ Link - link
Block
- ❌ Blockquote - blockquote
- ✅ Header - header
- ✅ Indent - indent
- ✅ List - list
Summary
Functions
Convert Quill Delta to Markdown.