iamcco/markdown-preview.nvim

Anchor links containing special characters not being stripped

Open

#191 aperta il 15 mag 2020

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)JavaScript (246 fork)batch import
help wanted

Metriche repository

Star
 (5538 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor