-
Notifications
You must be signed in to change notification settings - Fork 61
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
Adding another library for syntax highlighting. #105
Comments
Hi @redvers! There is a bit of a long dependency chain here:
It seems like the last Skylighting update was around 6 months ago. I assume that Pony will be included in the next release. However, that may still take a while. Alternatively, I can see if we can add a similar |
That would be amazing if you could ... I traced the dependencies down and I don't see how patat integrates with pandoc specifically. I was chewing through the documentation and even tried to strace patat to see if I could see where it was pulling the ruby syntax from - even if I just swap out the files temporarily to get me moving :-) (Obviously that's not a proper fix - but my presentation is in about a week so I'm resorting to hackery of the worst kind) :-) |
@jaspervdj the same way I am trying to syntax highlight PureScript with v0.8.7.0, but it does not work, the xml is there though. The file were added Jul 15, 2020, the skylighting-core in stack lock file is 0.13 (which is the latest one from 30 Jul 2022), so it seems that skylighting-core is being updated without pulling all files in KDE's repo |
@klarkc Yeah, it seems like PureScript is not there yet... maybe you can file a PR against skylighting to add it from the KDE repos? I'm tempted to work on an extra syntax highlighting flag at some point, but I'm not sure if it will be soon. |
Added jgm/skylighting#158 |
This allows users to add custom kate highlighting XML files in the settings: --- patat: syntaxDefinitions: - 'impurescript.xml' ... Here is some *im*purescript: ```impurescript ... ``` See also #105
Greetings, I'm trying to build some slides around the pony language but alas the package on hackage doesn't seem to have that language support.
It's in the kate database so I have the xml file.
My question really is how would I go about adding it?
(Note: if I call pandoc directly at the command-line like so:
pandoc foo.md --syntax-definition pony.xml
is sufficient for the resultant html to be marked up correctly (wrong workflow I know - but useful to know that my .xml definition is good).Thanks!
Red
The text was updated successfully, but these errors were encountered: