iamcco/markdown-preview.nvim

Anchor links containing special characters not being stripped

Open

#191 建立於 2020年5月15日

在 GitHub 查看
 (1 留言) (2 反應) (0 負責人)JavaScript (5,538 star) (246 fork)batch import
help wanted

描述

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

貢獻者指南