svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
30 lines (28 loc) • 707 B
JavaScript
const dark = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ddd;background:#303030}.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-section,
.hljs-link{color:white}.hljs-string,
.hljs-title,
.hljs-name,
.hljs-type,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable{color:#d88}.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta{color:#979797}.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-title,
.hljs-section,
.hljs-doctag,
.hljs-type,
.hljs-name,
.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic}</style>`;
export default dark;