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

lstinline language not recognized #3422

Closed
SamuelePilleri opened this issue Feb 5, 2017 · 0 comments
Closed

lstinline language not recognized #3422

SamuelePilleri opened this issue Feb 5, 2017 · 0 comments

Comments

@SamuelePilleri
Copy link

When converting from markdown (pandoc markdown) to LaTeX inline code highlighting doesn't work if --listings is provided.

Consider the following markdown example:

`int main(int argc, const char *argv[]);`{.c}

When compiling with pandoc --to latex --listings it outputs the following:

\lstinline!int main(int argc, const char *argv[]);!

Instead of:

\lstinline[language=C]!int main(int argc, const char *argv[]);!

I've tried generating the --standalone LaTeX source and modifying this line manually and it actually works.

I'm using pandoc 1.16.0.2.

@jgm jgm closed this as completed in c93ecfc Feb 5, 2017
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

1 participant