Dave Rahardja · @drahardja
1229 followers · 5684 posts · Server sfba.social

What’s the deal with just…getting stuck highlighting some random block of code in the middle of your page? I have a code block marked `swift` featuring a `class` definition that will not highlight properly. But if I add a statement before the class definition, e.g. `a = b + 5`, the syntax highlighting works again. What am I doing wrong?

I’m using the minimized bundle from their CDN, so I should have the latest version.

#highlightjs #jekyllrb #staticpages #SyntaxHighlighting #blogging

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
104 followers · 104 posts · Server fosstodon.org

I'm playing with (pyodide.org), so that users can try out my Python packages directly into the docs pages! The editor is (ace.c9.io/), and the output is highlighted with (highlightjs.org/). I'm trying to improve the look and feel but it's already amazing.

#pyodide #ace #highlightjs

Last updated 1 year ago

Nicd :unverified: · @nicd
283 followers · 1251 posts · Server fosstodon.org

(My pastebin doesn't have Gleam syntax highlighting because neither nor " have it available…)

#prismjs #highlightjs

Last updated 2 years ago