iamcco/markdown-preview.nvim

Anchor links containing special characters not being stripped

Open

#191 ouverte le 15 mai 2020

Voir sur GitHub
 (1 commentaire) (2 réactions) (0 assignés)JavaScript (246 forks)batch import
help wanted

Métriques du dépôt

Stars
 (5 538 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

When I define a section containing special characters, for example:

## api/path/to/resource/<resource_id>/

The preview doesn't strip the slashes and <>, so the anchor link becomes:

#api%2Fpath%2Fto%2Fresource%2F<resource_id>%2F

But on GitHub the actual anchor link would be:

#apipathtoresourceresource_id

Guide contributeur