-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Support highlighting for console sessions #67
Comments
You'd have to see if there's a KDE syntax definition
(xml) file for this. If not, you could try creating
one. Then it would be possible to add it, or just use
it from pandoc without adding it to this library,
via --syntax-definition.
|
I'll try to do my own syntax definition file, thank you! |
Ideally we would use the ‘console’ hylighting style from Pygments, but Pandoc doesn't support anything similar: jgm/skylighting#67
@ricpelo if you happened to create one would you mind sharing it here? i used this answer from stackoverflow answer as reference but i couldn't get it working. |
Sure, but I'm afraid it's really ugly, although it works for my needs. Hope it helps you. Check my gist to get it: https://gist.github.com/ricpelo/1ceb8e052956097d1b5192b2f3148367 |
Hi! Is it planned syntax highlighting for console sessions? Something like highlight.js do with the
shell
language definition. (See demo, scroll down to Shell Session section.)I'm writing teaching material with Pandoc and I need to write many shell commands with console sessions.
Thanks in advance!
The text was updated successfully, but these errors were encountered: