---
title: "#highlightjs articles | Hashnode"
description: "Explore 1 articles tagged #highlightjs on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/highlightjs"
---

Tag

# #highlightjs

1 posts · 0 followers

[Emzar Panikashvili](https://hashnode.com/@epanikas) · [Sep 3, 2024](https://hashnode.com/posts/highlight-your-code-scope-highlightjs-theme-to-a-single-component/66d6b1a05078394a397e59a4)

### [Highlight your code: scope highlight.js theme to a single component](https://epanikas.hashnode.dev/highlight-your-code-scope-highlightjs-theme-to-a-single-component?utm_source=hashnode&utm_medium=feed)

A way to scope a highlight.js theme to a single component only, with the possibility to change it dynamically. Use case: light / dark-themed page.

13 min read · [epanikas.hashnode.dev](https://epanikas.hashnode.dev/highlight-your-code-scope-highlightjs-theme-to-a-single-component?utm_source=hashnode&utm_medium=feed)
