implement syntax_highlighting.enabled

This commit is contained in:
Daniel Fichtinger 2025-07-03 02:03:33 -04:00
parent c1e377c94d
commit 0940472410
3 changed files with 9 additions and 15 deletions

View file

@ -37,11 +37,6 @@ class MarkdownConfig:
)
@dataclass
class ThemeConfig:
name: str = "default"
@dataclass
class BuildConfig:
clean_output_dir: bool = True
@ -53,15 +48,12 @@ IGNORELIST = [".git", ".env", "*/.marksman.toml"]
@dataclass
class ZonaConfig:
title: str = "Zona Blog"
base_url: str = "https://example.com"
language: str = "en"
base_url: str = "/"
# dictionary where key is name, value is url
sitemap: SitemapConfig = field(default_factory=lambda: {"Home": "/"})
# list of globs relative to content that should be ignored
ignore: list[str] = field(default_factory=lambda: IGNORELIST)
markdown: MarkdownConfig = field(default_factory=MarkdownConfig)
theme: ThemeConfig = field(default_factory=ThemeConfig)
build: BuildConfig = field(default_factory=BuildConfig)
blog: BlogConfig = field(default_factory=BlogConfig)