feature: only external links open in new tab

This commit is contained in:
Daniel Fichtinger 2025-07-11 14:15:03 -04:00
parent b8b8fef72c
commit 0ee8094cc9
3 changed files with 29 additions and 9 deletions

View file

@ -37,6 +37,11 @@ class HighlightingConfig:
wrap: bool = False
@dataclass
class LinksConfig:
external_new_tab: bool = True
@dataclass
class MarkdownConfig:
image_labels: bool = True
@ -44,6 +49,7 @@ class MarkdownConfig:
syntax_highlighting: HighlightingConfig = field(
default_factory=HighlightingConfig
)
links: LinksConfig = field(default_factory=LinksConfig)
@dataclass