diff options
author | François-Xavier Carton <fx.carton91@gmail.com> | 2020-11-24 02:01:50 +0100 |
---|---|---|
committer | François-Xavier Carton <fx.carton91@gmail.com> | 2020-11-24 02:01:50 +0100 |
commit | 733c3118866e18ed1c92f5dabc938434fcfa6647 (patch) | |
tree | f1a674c286fca43324d2690ff14480ba2ec56d45 | |
parent | 11878bab8a7d7381d9b7b90aa6b6b89a57492597 (diff) |
Change back quotes behaviour from <q> to <code>
-rwxr-xr-x | blogit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ blog/%.html: articles/% $(addprefix templates/,$(addsuffix .html,header article_ -e '/^###/{s,^###,<h3>,;s,$$,</h3>,;H;s,.*,,;x;p;d}' \ -e '/^##/{s,^##,<h2>,;s,$$,</h2>,;H;s,.*,,;x;p;d}' \ -e '/^#/{s,^#,<h1>,;s,$$,</h1>,;H;s,.*,,;x;p;d}' \ - -e 's,`\([^`]*\)`,<q>\1</q>,g' \ + -e 's,`\([^`]*\)`,<code>\1</code>,g' \ -e 's,\*\*\(\([^*<>][^*<>]*\*\?\)*\)\*\*,<b>\1</b>,g' \ -e 's,\*\([^*<>][^*<>]*\)\*,<i>\1</i>,g' \ -e 's,!\[\([^]]*\)\](\([^)]*\)),<img src="\2" alt="\1"/>,g' \ |