iamcco / iamcco/markdown-preview.nvim

Anchor links containing special characters not being stripped

Open
#191 2 comments 2 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

When I define a section containing special characters, for example:
```
## api/path/to/resource//
```

The preview doesn't strip the slashes and <>, so the anchor link becomes:
```
#api%2Fpath%2Fto%2Fresource%2F%2F
```

But on GitHub the actual anchor link would be:
```
#apipathtoresourceresource_id
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.