From bd4a8693f084ff02a573639fd2cef8643d94cda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Carton?= Date: Fri, 9 Oct 2020 22:59:09 +0200 Subject: Give ` a higher precedence --- blog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blog b/blog index 22d10e3..a65f3dd 100755 --- a/blog +++ b/blog @@ -141,11 +141,11 @@ blog/%.html: articles/% $(addprefix templates/,$(addsuffix .html,header article_ -e '/^###/{s,^###,

,;s,$$,

,;H;s,.*,,;x;p;d}' \ -e '/^##/{s,^##,

,;s,$$,

,;H;s,.*,,;x;p;d}' \ -e '/^#/{s,^#,

,;s,$$,

,;H;s,.*,,;x;p;d}' \ - -e 's,\*\*\(\([^*][^*]*\*\?\)*\)\*\*,\1,g' \ - -e 's,\*\([^*][^*]*\)\*,\1,g' \ + -e 's,`\([^`]*\)`,\1,g' \ + -e 's,\*\*\(\([^*<>][^*<>]*\*\?\)*\)\*\*,\1,g' \ + -e 's,\*\([^*<>][^*<>]*\)\*,\1,g' \ -e 's,!\[\([^]]*\)\](\([^)]*\)),\1,g' \ -e 's,\[\([^]]*\)\](\([^)]*\)),\1,g' \ - -e 's,`\([^`]*\)`,\1,g' \ -e '/^- /{s,^- ,
  • ,;s,$$,
  • ,;x;/^<\/ul>/{x;bL};p;s,.*,