chadbraunduin / markdown.bash

A Markdown interpreter using only traditional Unix tools
182 stars 46 forks source link

Multi-line code block enclosed in backticks doesn't work #14

Open adnan360 opened 3 years ago

adnan360 commented 3 years ago

Just found this project. Thanks a lot for creating this.

I was trying to use code block with 3 backticks (``` ... ```) but it doesn't work.

Input:

```
echo "test code"
```

Output:

`<code></code>
echo "test code"
`<code></code>

Should output:

<code>
echo "test code"
</code>