-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
Hi
I'd like to write a custom token & renderer for definition lists.
A common Markdown extension is to be create definition lists like this:
Term1
: definition1
Term2
: definition2
Inspirational specs:
- https://www.markdownguide.org/extended-syntax/#definition-lists
- https://github.com/Python-Markdown/markdown/blob/master/docs/extensions/definition_lists.md
- https://pandoc.org/MANUAL.html#definition-lists
I'd like to have support for those with mistletoe
.
However I'm wondering how to do detect the block start, given that the :
prefix occurs only on the seconde line,
and BlockToken
start()
method only accepts a single text line.
Would you have guidance regarding this, please? 🙂
Metadata
Metadata
Assignees
Labels
No labels