Open mickeyl opened 7 years ago
Syntax highlight for code block is done by PrismJS. You can define new language (and optionally add it to Prism).
As a follow-up question: What's with support for Xojo? It is already supported by Prism. Do I have to do something in addition, or just ask nicely ;-)
@C8-DO Prism has been updated in 59963f878d8eb6b7ec5a73216057027da82f4a04, which would be in next release (but not yet a plan, because we need more users to test out the beta features). MacDown in master
branch works good with Xojo code
Select Case me.ListIndex
case 0
canvas1.Backdrop = p1
case 1
canvas1.Backdrop = p2
case 2
canvas1.Backdrop = p3
end Select
(from here), so you can build yourself if you are really eager…
Thanks for the info, Franklin. The color scheme is different from Xojo's own, but I can easily live with that.
As for beta testers: I have little time right now, but if you'd point me to the version I should test (latest on the master branch?), and which features especially, I'll have a look.
Best regards, Chris
@C8-DO I build the current master
branch, and attach it as MacDown.zip. Not sure whether auto-update works though. There is no testing release with this update, yet.
How can I add support for another language (i.e. Vala) when writing code blocks?