Highlight.js Syntax Highlighting
Syntaxhervorhebung für EmDash CMS mit Highlight.js: 12 Themes, automatischer Hell-/Dunkelmodus, Kopieren-Schaltfläche und eine eigene Codeblock-Komponente für Portable Text.
Erweiterung
Highlight.js Syntax Highlighting
Syntaxhervorhebung für EmDash CMS mit Highlight.js: 12 Themes, automatischer Hell-/Dunkelmodus, Kopieren-Schaltfläche und eine eigene Codeblock-Komponente für Portable Text.
Syntaxhervorhebung für EmDash CMS mit Highlight.js: 12 Themes, automatischer Hell-/Dunkelmodus, Kopieren-Schaltfläche und eine eigene Codeblock-Komponente für Portable Text.
Installation
Installieren Sie das Paket über npm:
npm install emdash-plugin-highlightjs
Registrieren Sie das Plugin in Ihrer Astro-Konfiguration:
import { highlightjsPlugin } from "emdash-plugin-highlightjs";
export default defineConfig({
integrations: [
emdash({
plugins: [highlightjsPlugin()],
}),
],
});
Details
- Neueste Version: 1.0.2
- Lizenz: MIT
- Herausgeber: Adriano Amalfi
- Voraussetzung: EmDash
^0.12.0 - Quell-Repository: https://github.com/adrianoamalfi/emdash-plugin-highlightjs
- npm-Paket: emdash-plugin-highlightjs