Replies: 1 comment
-
|
Hey! Terribly sorry for the long wait. It’s been a bit since I worked on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm trying to create a micromark extension for Python Markdown admonition which has a somewhat peculiar behavior regarding lazy lines:
Unlike standard CommonMark syntax like blockquote where
renders as
Python Markdown admonition requires an offset for lazy lines:
Effectively, the logic for determining lazy lines ignores the offset of the fence
!!!plus at least 4 additional spaces (surprisingly only at least 2 additional spaces when inside a list item).I've been trying to implement a tokenizer for this kind of behavior using a "document" extension inspired by blockquote and list, unfortunately without success regarding lazy lines. For instance,
is parsed with a lazy line and I can't seem to figure out if and how I can modify the lazy lines logic to ignore the described offset.
I'd very much appreciate some advice. 🙏
Beta Was this translation helpful? Give feedback.
All reactions