added syntax highlighting config
This commit is contained in:
parent
c792a6bb07
commit
3bd1eddfac
4 changed files with 58 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue