aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-09 09:59:05 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-09 09:59:05 -0400
commit92b92bfc4913d03acfe4a0b2ca33c5a891790f75 (patch)
tree17651038e9419c46fa8b09eb91cb3fa7f85831a1 /src
parent51b047ed8091aa02ae3e4f651f9e3e6ee258e79a (diff)
downloadstasis-92b92bfc4913d03acfe4a0b2ca33c5a891790f75.tar.gz
Use gfm in place of markdown extension
Diffstat (limited to 'src')
-rw-r--r--src/stasis_indexer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stasis_indexer.c b/src/stasis_indexer.c
index b38c8d0..1630255 100644
--- a/src/stasis_indexer.c
+++ b/src/stasis_indexer.c
@@ -311,12 +311,12 @@ int indexer_make_website(struct Delivery *ctx) {
// >= 1.10.0.1
if (pandoc_version >= 0x010a0001) {
- strcat(pandoc_versioned_args, "-f markdown+autolink_bare_uris ");
+ strcat(pandoc_versioned_args, "-f gfm+autolink_bare_uris ");
}
- // >= 3.1.10
- if (pandoc_version >= 0x03010a00) {
- strcat(pandoc_versioned_args, "-f markdown+alerts ");
+ // > 3.1.9
+ if (pandoc_version > 0x03010900) {
+ strcat(pandoc_versioned_args, "-f gfm+alerts ");
}
}