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

贡献者指南