iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.82k stars 284 forks source link

Support letters/roman numbers as ordered lists markers #703

Open mjkloeckner opened 4 weeks ago

mjkloeckner commented 4 weeks ago

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