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

attribute on inline verbatim (for syntax highlighting) only works if delimited blocks elsewhere #653

Closed
uvtc opened this issue Nov 5, 2012 · 0 comments

Comments

@uvtc
Copy link

uvtc commented Nov 5, 2012

This is regarding Pandoc 1.9.4.2.

If I create just a short document consisting of only:

Some code `print "hi"`{.python} here.

and process it via pandoc -s -o foo.html foo.txt, that little bit of inline code is not syntax-highlighted.

But if the file contains a delimited code block with a filetype attribute, for example:

Some code `print "hi"`{.python} here.

Also:

~~~bash
echo "hi"
~~~

then that inline code is properly syntax-highlighted.

@jgm jgm closed this as completed in 54fb384 Nov 5, 2012
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