remark-lint-no-pipes-in-links

remark-lint rule to warn when a pipe is present in a link - these need to be escaped

Usage no npm install needed!

<script type="module">
  import remarkLintNoPipesInLinks from 'https://cdn.skypack.dev/remark-lint-no-pipes-in-links';
</script>

README

remark-lint-no-pipes-in-links

Warn when a link has a pipe within a link. see free-programming-books issue 5176

Example

In
[This is a link | with a pipe](https://unifiedjs.com/)
Out
 1:1  warning  link contains an unescaped |              link-escape       remark-lint
In
[This is a link /| with a pipe](https://unifiedjs.com/)
Out
 no messages