iamcco / iamcco/markdown-preview.nvim

Support letters/roman numbers as ordered lists markers

Open
#703 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

I'm using this plugin to preview markdown files which I later convert to PDFs with [pandoc](https://pandoc.org/index.html).

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

```markdown
a. First item
b. Second item
```

```markdown
1. First item
a. First sub item
b. Second sub item
2. Second item
```

```markdown
1. First item
i. First sub item
ii. Second sub item
2. Second item
```

I found the following plugin [markdown-it-fancy-lists](https://github.com/Moxio/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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.