Skip to content

add support to Persian ordered list #203

@ekm507

Description

@ekm507

Hi!

in markdown documents there can be ordered lists with numbers from other languages. such as Persian, Arabic, etc.
is it possible to add a support for them?

it does not support them right now:
image

below is a vim regex that matches all English, Arabic and Persian ordered list beginings which is a modified version of this

^\%(\t\| \{0,4}\)\<[0-9۰-۹٠-٩]\+\.\%(\s\+\S\)\@=

although I know it does not support all languages. like chinese, indian and others.

also something like \p{N} exists in regex to match any digit from any language but I don't know how to write it in vim style.

can this feature be added to vim? (and thus to other editors like neovim)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions