Markdown parser broken. Title shown inside code block
relikd opened this issue · comments
Markdown isnt rendered properly. Especially tags contained in code blocks should be ignored.
E.g., having this code snippet "some bash script" is rendered as if it where a h1 title.
\```
# some bash script
whoami
\```
Markdown isnt rendered properly. Especially tags contained in code blocks should be ignored.
E.g., having this code snippet "some bash script" is rendered as if it where a h1 title.\``` # some bash script whoami \```
syntax error is caused by you. remove \
chars
```
# some bash script
whoami
```
can you share .md file as gist.
Ok, I am not sure what is going wrong. If I download the latest release 1.3.6 (which has a CFBundleShortVersion of 1.3.5), the parser works fine. The above issue only occurs if I compile my own version. Which doesn't even touch any of the preview rendering, only the thumbnail rendering https://github.com/toland/qlmarkdown/pull/95/files.
homebrew version works fine.
➜ ~ brew info qlmarkdown
qlmarkdown: 1.3.6
https://github.com/toland/qlmarkdown
/usr/local/Caskroom/qlmarkdown/1.3.6 (149B)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/qlmarkdown.rb
==> Name
QLMarkdown
==> Description
QuickLook generator for Markdown files
==> Artifacts
QLMarkdown.qlgenerator (QuickLook Plugin)
==> Analytics
install: 1,872 (30 days), 5,008 (90 days), 24,925 (365 days)