diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-05-04 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-05-04 00:00:00 +0000 |
commit | c0830ef2a8289747eebb1f662fdad390dfee3491d62eddb0176047998949b668 (patch) | |
tree | 60c2f787793a6e15bbe1fa0feba7289873c99848031cbb98bb099f43191ac9a2 | |
parent | afe33bd1747f4327fd912dbc1a8fb4579bf5330f812dc28efa7a3f730fcc5bf9 (diff) | |
download | hugo-theme-journal-c0830ef2a8289747eebb1f662fdad390dfee3491d62eddb0176047998949b668.tar.gz hugo-theme-journal-c0830ef2a8289747eebb1f662fdad390dfee3491d62eddb0176047998949b668.zip |
Add support for + unordered list symbol
-rw-r--r-- | layouts/_default/single.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index df0ff26..c24c424 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -34,7 +34,7 @@ {{- $rendered_text = $rendered_text | replaceRE `\*{3}(\S|\S.*?\S)\*{3}` "$1" }} {{- $rendered_text = $rendered_text | replaceRE `\*{2}(\S|\S.*?\S)\*{2}` "$1" }} {{- $rendered_text = $rendered_text | replaceRE `\*{1}(\S|\S.*?\S)\*{1}` "$1" }} - {{- $rendered_text = $rendered_text | replaceRE `(?m)^- ` "* " }} + {{- $rendered_text = $rendered_text | replaceRE `(?m)^[-+] ` "* " }} {{- $rendered_text = $rendered_text | emojify }} {{- if $before_pre }} |