Skip to content

feat: add MardownItFancyLists plugin #63

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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