Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Markdown] Add support for fenced divs #4146

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

deathaxe
Copy link
Collaborator

@deathaxe deathaxe commented Feb 7, 2025

This commit aligns Markdown adds patterns for Pandoc fenced divs.

see: https://pandoc.org/MANUAL.html#divs-and-spans

related with SublimeText-Markdown/MarkdownEditing@c61ef02

Note: It turns out patterns related with leading whitespace treatment need optimization. That's a separate task.

This commit aligns Markdown adds patterns for Pandoc fenced divs.

see: https://pandoc.org/MANUAL.html#divs-and-spans
@deathaxe deathaxe marked this pull request as draft February 7, 2025 17:55
This commit drops pushing dedicated `fenced-div-body` to workaround
hitting pattern repetition sanity limits of which reason is not yet clear.
@deathaxe deathaxe force-pushed the pr/markdown/fencd-divs branch from 0d5a62a to 6df7e4d Compare February 8, 2025 10:38
@deathaxe deathaxe marked this pull request as ready for review February 8, 2025 10:43
michaelblyons
michaelblyons previously approved these changes Feb 8, 2025
@jrappen
Copy link
Contributor

jrappen commented Feb 11, 2025

  • typo: "indendet" vs. "indented"
  • reading through the tests, there seemed to be in issue with nested divs, but there isn't as pandoc is just being weird:
    image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants