From 366b2c7b722e99332a50891be3fbeee943e24314 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Wed, 10 Jan 2024 17:44:35 +0100 Subject: [PATCH] update archetypes with some help for syntax highlighting --- archetypes/posts.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/archetypes/posts.md b/archetypes/posts.md index 2b7d7e3..8d958b2 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -2,7 +2,7 @@ title: {{ replace .Name "-" " " }} summary: date: {{ .Date }} -lastmod: 2023-12-26T13:24:08+0000 +lastmod: 2024-01-10T16:44:35+0000 categories: - amateur-radio - computerstuff @@ -18,6 +18,16 @@ tags: # feed_exclude: true # site_exclude: true +# some help +# +# highlighting with highlights +# +# use table, as inline creates a padding around +# and it pushes the text more to the right side (end of screen) +# +# ~~~html {linenos=table,hl_lines="3-6"} +# ~~~html {linenos=inline,hl_lines="1,3-6"} + draft: true ---