muravjev / repro-remark-underscore

remark undescore issue repro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

  1. We have a link that contains a name with underscore in it:
[CODE_OF_CONDUCT.md]()
  1. After running remark:
remark --output -- .
  1. Link name is formatted:
[CODE\_OF\_CONDUCT.md]()

diff: https://github.com/muravjev/repro_remark_underscore/compare/0d32000...defd596

Question

Is it possible to prevent such behavior?

Reproduction

repo: https://github.com/muravjev/repro_remark_underscore

git clone https://github.com/muravjev/repro_remark_underscore.git
cd repro_remark_underscore
pnpm install
pnpm repro

About

remark undescore issue repro