A set of utility widgets that convert Text to Markdown. Extended to support custom Lemmy syntax.
Provides MarkdownToolbar
and MarkdownTextInputField
widgets.
The following markdown syntax is supported by this package:
- Bold:
MarkdownType.bold
- Italics:
MarkdownType.italic
- Strikethrough:
MarkdownType.strikethrough
- Links:
MarkdownType.link
- Headings:
MarkdownType.title
- Lists:
MarkdownType.list
- Code:
MarkdownType.code
- Block quotes:
MarkdownType.blockquote
- Dividers:
MarkdownType.separator
- Images:
MarkdownType.image
Custom markdown actions have been added to handle Lemmy specific syntax. This includes
- User format
@[email protected]
- Community format
[email protected]
- Spoiler tags
Original implementation by Playmoweb.