From 92b92bfc4913d03acfe4a0b2ca33c5a891790f75 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 9 Oct 2024 09:59:05 -0400 Subject: Use gfm in place of markdown extension --- src/stasis_indexer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/stasis_indexer.c') 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 "); } } -- cgit