Skip to content

Comments

feat: add MardownItFancyLists plugin#63

Open
k1rowashere wants to merge 1 commit intotoppair:masterfrom
k1rowashere:master
Open

feat: add MardownItFancyLists plugin#63
k1rowashere wants to merge 1 commit intotoppair:masterfrom
k1rowashere:master

Conversation

@k1rowashere
Copy link

Adds markdown-it-fancy-lists markdown-it plugin, which adds support for Pandoc-like list syntax.

(alpha, roman... ordered lists)

Think it is pretty useful.

ps.
I would be open to implement a general and configurable plugin loader for markdown-it, that could be a better solution?

@fmorroni
Copy link
Contributor

fmorroni commented May 9, 2024

Hi, I just tried this changes but it doesn't seem to be working. I still only get roman numeral ordered lists. Do I need to change something else besides the two lines added by this pr?

@k1rowashere
Copy link
Author

k1rowashere commented May 10, 2024

Hi, I just tried this changes but it doesn't seem to be working. I still only get roman numeral ordered lists. Do I need to change something else besides the two lines added by this pr?

That is odd, it works on my machine™ and I am using this exact branch. (I haven't installed anything)
Can you provide the markdown file you are using?
Perhaps the plugin needs some configuration?

Example of it working:
image

@fmorroni
Copy link
Contributor

Hi sorry I kinda forgot about this. I just checked with your exact branch and it is indeed working. I then checked back with my own (with your changes added) and it also seems to be working... I don't really know why I thought it wasn't working before haha

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants