diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-09 09:59:05 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-09 09:59:05 -0400 |
commit | 92b92bfc4913d03acfe4a0b2ca33c5a891790f75 (patch) | |
tree | 17651038e9419c46fa8b09eb91cb3fa7f85831a1 /src | |
parent | 51b047ed8091aa02ae3e4f651f9e3e6ee258e79a (diff) | |
download | stasis-92b92bfc4913d03acfe4a0b2ca33c5a891790f75.tar.gz |
Use gfm in place of markdown extension
Diffstat (limited to 'src')
-rw-r--r-- | src/stasis_indexer.c | 8 |
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 "); } } |