home.social

#highlightjs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #highlightjs, aggregated by home.social.

  1. So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.

    You can see this for yourself if you have the 1password extension installed at:

    kitten.small-web.org/#the-ubiq

    Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.

    Disable the 1password extension and load the page again and you will see syntax highlighting working properly.

    WTF?!

    #1password #browser #extension #highlightJS #Kitten

  2. So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.

    You can see this for yourself if you have the 1password extension installed at:

    kitten.small-web.org/#the-ubiq

    Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.

    Disable the 1password extension and load the page again and you will see syntax highlighting working properly.

    WTF?!

    #1password #browser #extension #highlightJS #Kitten

  3. So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.

    You can see this for yourself if you have the 1password extension installed at:

    kitten.small-web.org/#the-ubiq

    Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.

    Disable the 1password extension and load the page again and you will see syntax highlighting working properly.

    WTF?!

    #1password #browser #extension #highlightJS #Kitten

  4. So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.

    You can see this for yourself if you have the 1password extension installed at:

    kitten.small-web.org/#the-ubiq

    Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.

    Disable the 1password extension and load the page again and you will see syntax highlighting working properly.

    WTF?!

    #1password #browser #extension #highlightJS #Kitten

  5. So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.

    You can see this for yourself if you have the 1password extension installed at:

    kitten.small-web.org/#the-ubiq

    Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.

    Disable the 1password extension and load the page again and you will see syntax highlighting working properly.

    WTF?!

    #1password #browser #extension #highlightJS #Kitten

  6. @Una @argyleink Awesome! We no longer need Custom Highlight API nor nor for syntax highlighting thanks to @gdc!

  7. @Una @argyleink Awesome! We no longer need #CSS Custom Highlight API nor #PrismJS nor #HighlightJS for syntax highlighting thanks to @gdc!

  8. @Una @argyleink Awesome! We no longer need #CSS Custom Highlight API nor #PrismJS nor #HighlightJS for syntax highlighting thanks to @gdc!

  9. @Una @argyleink Awesome! We no longer need #CSS Custom Highlight API nor #PrismJS nor #HighlightJS for syntax highlighting thanks to @gdc!

  10. @Una @argyleink Awesome! We no longer need #CSS Custom Highlight API nor #PrismJS nor #HighlightJS for syntax highlighting thanks to @gdc!

  11. 🗞️ Coming soon: the next release of Highlight.js will officially support Unison syntax highlighting, so we should be seeing even more Unison code out there in the world.

    BTW, if you simply cannot wait to style Unison snippets on your website, you can do so right now with github.com/runarorama/highligh

  12. 🗞️ Coming soon: the next release of Highlight.js will officially support Unison syntax highlighting, so we should be seeing even more Unison code out there in the world.

    BTW, if you simply cannot wait to style Unison snippets on your website, you can do so right now with github.com/runarorama/highligh
    #highlightjs #unisonlang

  13. 🗞️ Coming soon: the next release of Highlight.js will officially support Unison syntax highlighting, so we should be seeing even more Unison code out there in the world.

    BTW, if you simply cannot wait to style Unison snippets on your website, you can do so right now with github.com/runarorama/highligh
    #highlightjs #unisonlang

  14. 🗞️ Coming soon: the next release of Highlight.js will officially support Unison syntax highlighting, so we should be seeing even more Unison code out there in the world.

    BTW, if you simply cannot wait to style Unison snippets on your website, you can do so right now with github.com/runarorama/highligh
    #highlightjs #unisonlang

  15. 🗞️ Coming soon: the next release of Highlight.js will officially support Unison syntax highlighting, so we should be seeing even more Unison code out there in the world.

    BTW, if you simply cannot wait to style Unison snippets on your website, you can do so right now with github.com/runarorama/highligh
    #highlightjs #unisonlang

  16. Quick heads up, highlight.js now correctly highlights code in namespaced tagged template strings (e.g., kitten.html``, kitten.css``, etc.)

    github.com/highlightjs/highlig

    (And Kitten comes with highlight.js baked in. See it in use in this example: codeberg.org/kitten/app/src/br and please ignore the warnings on that page, there’s nothing wrong with the code, it’s a long-standing @Codeberg bug where proper typography in comments and strings is flagged as errors. Embarrassing.)

    #highlightJS #Kitten #SmallWeb

  17. Quick heads up, highlight.js now correctly highlights code in namespaced tagged template strings (e.g., kitten.html``, kitten.css``, etc.)

    github.com/highlightjs/highlig

    (And Kitten comes with highlight.js baked in. See it in use in this example: codeberg.org/kitten/app/src/br and please ignore the warnings on that page, there’s nothing wrong with the code, it’s a long-standing @Codeberg bug where proper typography in comments and strings is flagged as errors. Embarrassing.)

    #highlightJS #Kitten #SmallWeb

  18. Quick heads up, highlight.js now correctly highlights code in namespaced tagged template strings (e.g., kitten.html``, kitten.css``, etc.)

    github.com/highlightjs/highlig

    (And Kitten comes with highlight.js baked in. See it in use in this example: codeberg.org/kitten/app/src/br and please ignore the warnings on that page, there’s nothing wrong with the code, it’s a long-standing @Codeberg bug where proper typography in comments and strings is flagged as errors. Embarrassing.)

    #highlightJS #Kitten #SmallWeb

  19. Quick heads up, highlight.js now correctly highlights code in namespaced tagged template strings (e.g., kitten.html``, kitten.css``, etc.)

    github.com/highlightjs/highlig

    (And Kitten comes with highlight.js baked in. See it in use in this example: codeberg.org/kitten/app/src/br and please ignore the warnings on that page, there’s nothing wrong with the code, it’s a long-standing @Codeberg bug where proper typography in comments and strings is flagged as errors. Embarrassing.)

    #highlightJS #Kitten #SmallWeb

  20. Quick heads up, highlight.js now correctly highlights code in namespaced tagged template strings (e.g., kitten.html``, kitten.css``, etc.)

    github.com/highlightjs/highlig

    (And Kitten comes with highlight.js baked in. See it in use in this example: codeberg.org/kitten/app/src/br and please ignore the warnings on that page, there’s nothing wrong with the code, it’s a long-standing @Codeberg bug where proper typography in comments and strings is flagged as errors. Embarrassing.)

    #highlightJS #Kitten #SmallWeb

  21. I've added `ssh_config` highlighting to #TiddlyWiki because I can, and I want.

    Ngl, ChatGPT helped too, I was driving, she was generating big-ass lists of keywords.

    Snippet: git.catgirl.cloud/-/snippets/5

    PS
    It should work with #highlightjs in general

  22. Any #PostCSS users know how I can include other CSS files with a prefix. Use case is that I want to import two files - light and dark themes for #highlightjs, but dark mode needs all selectors to be scoped with an additional `.dark` class prefix

  23. Any #PostCSS users know how I can include other CSS files with a prefix. Use case is that I want to import two files - light and dark themes for #highlightjs, but dark mode needs all selectors to be scoped with an additional `.dark` class prefix

  24. Any #PostCSS users know how I can include other CSS files with a prefix. Use case is that I want to import two files - light and dark themes for #highlightjs, but dark mode needs all selectors to be scoped with an additional `.dark` class prefix

  25. Any #PostCSS users know how I can include other CSS files with a prefix. Use case is that I want to import two files - light and dark themes for #highlightjs, but dark mode needs all selectors to be scoped with an additional `.dark` class prefix

  26. Any #PostCSS users know how I can include other CSS files with a prefix. Use case is that I want to import two files - light and dark themes for #highlightjs, but dark mode needs all selectors to be scoped with an additional `.dark` class prefix

  27. 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.

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

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

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

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

  32. is a code highlighter.

    highlight.js is a clientside source code highlighter that does not depend on any frameworks. highlight.js can be easily used in scripts and webpages by simply using the prebuilt minified source. highlight.js supports hundreds of languages, has many themes, and supports programming language detection.

    Website 🔗️: highlightjs.org/

  33. #highlightjs is a #dependencyless #JavaScript code highlighter.

    highlight.js is a clientside source code highlighter that does not depend on any frameworks. highlight.js can be easily used in scripts and webpages by simply using the prebuilt minified source. highlight.js supports hundreds of languages, has many themes, and supports programming language detection.

    Website 🔗️: highlightjs.org/

    #free #opensource #foss #fossmendations #library #programming #webdev