Chalarangelo / Chalarangelo/parse-md-js

Parser doesn't honour escape sequences

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The `parseMarkdown` function ignores escape backslashes. Passing `this is a \*test\*` to the function will return `

this is a test

`. [According to the specs](https://daringfireball.net/projects/markdown/syntax#backslash), a backslash should be used to escape characters and render them literally, so the output should be `

this is a *test*

`.

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.