feature: only external links open in new tab
This commit is contained in:
parent
b8b8fef72c
commit
0ee8094cc9
3 changed files with 29 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue