prettier-github icon indicating copy to clipboard operation
prettier-github copied to clipboard

Support improper code fencing

Open Mottie opened this issue 8 years ago • 0 comments

Please add support for the following example. It wraps the code in a single backtick, but because it includes a line break (two, or more, carriage returns), the markdown renderer ignores the block.

Here is an example:

`// The space below is the cause of this problem

document.addEventListener("input", function (event) { if (event.target.id === "test") { // do something } else { // do something else } });`

Mottie avatar Oct 24 '17 15:10 Mottie