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

@ -379,6 +379,8 @@ markdown:
enabled: true
theme: ashen
wrap: false
links:
external_new_tab: true
blog:
dir: blog
```
@ -391,6 +393,7 @@ blog:
| `markdown.syntax_highlighting.enabled` | Whether code should be highlighted. |
| `markdown.syntax_highlighting.theme` | [Pygments] style for highlighting. |
| `markdown.syntax_highlighting.wrap` | Whether the resulting code block should be word wrapped. |
| `markdown.links.external_new_tab` | Whether external links should be opened in a new tab. |
| `blog.dir` | Name of a directory relative to `content/` whose children are automatically considered posts. |
### Sitemap