You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that wastebin is currently using Syntect for highlighting, which in turn relies on Sublime-2-based theme definitions. I also saw #17, which uses Tree-sitter for highlighing.
I see zola has additional syntaxes including Prolog, so definitely there is a way to go forward.
As indicated in #17, tree-sitter would be nice if it wasn't for the downsides: difficult set up, blow up in size and smaller number of supported languages.
matze
changed the title
Prolog highlighting support?
Extend syntax, includling Prolog support
Jun 27, 2023
matze
changed the title
Extend syntax, includling Prolog support
Extend syntax, including Prolog support
Jun 27, 2023
I saw that wastebin is currently using Syntect for highlighting, which in turn relies on Sublime-2-based theme definitions. I also saw #17, which uses Tree-sitter for highlighing.
How difficult would it be to add support for Prolog code highlighting, e.g. by plugging https://github.com/BenjaminSchaaf/swi-prolog-sublime-syntax or https://github.com/Rukiza/tree-sitter-prolog into Syntect or Tree-sitter, respectively?
I am a Rust noob so far (scratch that, I have no Rust experience at all), just so that you know.
The text was updated successfully, but these errors were encountered: