added syntax highlighting config

This commit is contained in:
Daniel Fichtinger 2025-06-29 23:42:35 -04:00
parent c792a6bb07
commit 3bd1eddfac
4 changed files with 58 additions and 15 deletions

View file

@ -19,15 +19,24 @@ class BlogConfig:
dir: str = "blog"
@dataclass
class HighlightingConfig:
enabled: bool = True
theme: str = "ashen"
wrap: bool = False
@dataclass
class MarkdownConfig:
image_labels: bool = True
syntax_highlighting: HighlightingConfig = field(
default_factory=HighlightingConfig
)
@dataclass
class ThemeConfig:
name: str = "default"
syntax_highlighting: bool = True
@dataclass