iamcco/markdown-preview.nvim

Anchor links containing special characters not being stripped

Open

#191 建立於 2020年5月15日

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

倉庫指標

Star
 (5,538 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南