What’s the deal with #highlightJS 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
#Pandoc ships with 8 syntax #highlighting styles: pygments (the default), tango, espresso, zenburn, kate, monochrome, breezedark, and haddock. Set `--highlight-style` to once of these values to vary code coloring etc.
Not enough? Pandoc can also use #KDE highlighting themes. There's a list at https://kate-editor.org/themes/, theme files are available from https://github.com/KDE/syntax-highlighting/tree/master/data/themes. Pass the downloaded file as highlight style.
#syntaxHighlighting #theme
#pandoc #highlighting #kde #SyntaxHighlighting #theme
#EmacsTip: How about highlight commands in Eshell? Check out #EshellSyntaxHighlighting!
#emacstip #eshellsyntaxhighlighting #emacs #eshell #SyntaxHighlighting #fontlock
If you’re using the Dracula theme (https://draculatheme.com/) in Helix Editor (https://helix-editor.com), here’s a tiny patch that will improve selections for you by maintaining syntax highlighting in selected areas:
https://github.com/helix-editor/helix/issues/2075
#HelixEditor #hx #dracula #theme #legibility #usability #syntaxHighlighting
#SyntaxHighlighting #usability #legibility #theme #dracula #hx #HelixEditor