Open vicevolf opened 3 years ago
You could always write a plugin/extension for that: https://github.com/highlightjs/highlight.js/tree/main/src/languages
You could always write a plugin/extension for that: https://github.com/highlightjs/highlight.js/tree/main/src/languages
😥 I'm looking for help with that.
I'd put one together for you but I'm still learning javascript. I probably know enough js to write one but not enough to take the time out for someone else and write it. This might be a great opportunity for you to learn Javascript. I'm good at Go but suck at js, I needed a frontend for something so I'm learning js; Javascript as a language sucks (old js at least)
I'd put one together for you but I'm still learning javascript. I probably know enough js to write one but not enough to take the time out for someone else and write it. This might be a great opportunity for you to learn Javascript. I'm good at Go but suck at js, I needed a frontend for something so I'm learning js; Javascript as a language sucks (old js at least)
I am also learning into js.
I wrote some document web pages about ink, but the code block highlighting is not right, I can only use plain text.
This is not good for the popularity of ink.
Take a screenshot using Inky?
Take a screenshot using Inky?
In fact, I'm translating the official documents of ink into my native language. The screenshots may not be good. But now I've added a lot of comments and inky demo as a supplement.
Just a clarifying question: is this about highlighting Ink on explanatory web pages OR is this about being able to include source code in Ink documents and have the rendered output include syntax highlighting?
Is there any way to make the ink code highlight correctly on the web? Similar to highlight.js
https://highlightjs.org/