style: add automatic colors to code

This commit is contained in:
robin committed 2026-08-04 15:53:13 +02:00
1 parent 14be41befd
commit 592b1a158a
7 files changed
+309 -4

No files matched your search

+6
View File
@@ -3,6 +3,12 @@ import path from 'path';
import matter from 'gray-matter';
import { remark } from 'remark';
import html from 'remark-html';
import rehypePrettyCode from 'rehype-pretty-code';
const options = {
theme: 'github-dark', // oder 'nord', 'one-dark-pro', etc.
keepBackground: true,
};
export type WikiArticle = {
slug: string;