Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdless not properly showing code blocks #2

Closed
jjarava opened this issue Sep 7, 2015 · 1 comment
Closed

mdless not properly showing code blocks #2

jjarava opened this issue Sep 7, 2015 · 1 comment

Comments

@jjarava
Copy link

jjarava commented Sep 7, 2015

Hi!

I've just installed mdless and I've noticed there seem to be some issues with the way that code blocks are shown. I have Pygments installed, and (apparently; not very familiar with it) working:

test$ pygmentize -V
Pygments version 2.0.2, (c) 2006-2014 by Georg Brandl.

I've created a test file but due to GitHub's funky Issues app not allowing attachments, I've posted it as a gist (https://gist.github.com/jjarava/9596855f9f1ff9720167).

For reference, this is how the example file looks when viewing it on Marked - notations 1, 2 and 3 work fine

mdless-example-marked-2015-09-07_17-46-08

The same file viewed with mdless within iTerm 3 beta shows several issues:

mdless-example-mdless-iterm3-beta-2015-09-07_18-10-46

Running the same file through pygmentize via cat mdless-sample-test.md | pygmentize shows that the syntax highlighting is working (or at least the script would recognize quite a few of the snippets):

mdless-example-raw-pygmentize-2015-09-07_18-13-45

Any hints or workarounds more than welcome; personally I'm quite partial to the triple backtick notation in my .md files and I've got more than a few code samples scattered in my files...

Regards

@ttscoff
Copy link
Owner

ttscoff commented Sep 13, 2019

This should be significantly improved in the latest release. Let me know if you still have issues.

@ttscoff ttscoff closed this as completed Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants