From 197b9c297c84cdd57d262a307d5ce058b515498e Mon Sep 17 00:00:00 2001 From: June Date: Tue, 19 May 2026 01:11:34 +0200 Subject: [PATCH] docs: fix code blocks overflowing and add syntax highlighting Without these options code blocks would overflow. See: https://github.com/asiffer/mkdocs-shadcn/issues/57 And it also provides nice syntax highlighting. --- docs_requirements.txt | 1 + mkdocs.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docs_requirements.txt b/docs_requirements.txt index f6167f1..ddabb05 100644 --- a/docs_requirements.txt +++ b/docs_requirements.txt @@ -1,2 +1,3 @@ mkdocs mkdocs-shadcn +pygments diff --git a/mkdocs.yml b/mkdocs.yml index c258e2e..5a8af7b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,6 +6,7 @@ markdown_extensions: - smarty - admonition - attr_list + - codehilite theme: name: shadcn