Skip to content
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

Support letters/roman numbers as ordered lists markers #703

Open
mjkloeckner opened this issue Oct 17, 2024 · 0 comments
Open

Support letters/roman numbers as ordered lists markers #703

mjkloeckner opened this issue Oct 17, 2024 · 0 comments

Comments

@mjkloeckner
Copy link

I'm using this plugin to preview markdown files which I later convert to PDFs with pandoc.

Pandoc extends the markdown syntax and allows the use of letters or roman numbers as ordered lists notation, as shown in the following examples

a. First item
b. Second item
1. First item
    a. First sub item
    b. Second sub item
2. Second item
1. First item
    i. First sub item
    ii. Second sub item
2. Second item

I found the following plugin markdown-it-fancy-lists which extends the syntax of markdown-it to support the pandoc style ordered lists.

I tried adding this plugin in the file app/pages/index.jsx by importing the package and using it when creating the MardownIt renderer, then I build the plugin with the command npm run build but it doesn't work.

Is there a way to support this syntax, at least locally on my config?

If anyone know please let me know,
Martin

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

No branches or pull requests

1 participant