diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+Version 0.16.0.1 released 30 Aug 2026
+
+  * Support for pandoc 3.11.
+
 Version 0.16 released 10 Jun 2026
 
   * Remove unnecessary templatesPath field in GititState (Profpatsch)
diff --git a/gitit.cabal b/gitit.cabal
--- a/gitit.cabal
+++ b/gitit.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.0
 name:                gitit
-version:             0.16
+version:             0.16.0.1
 build-type:          Simple
 synopsis:            Wiki using happstack, git or darcs, and pandoc.
 description:         Gitit is a wiki backed by a git, darcs, or mercurial
@@ -134,7 +134,7 @@
                      mtl,
                      old-time,
                      temporary,
-                     pandoc >= 2.9 && < 2.20 || >= 3.0 && < 3.11,
+                     pandoc >= 2.9 && < 2.20 || >= 3.0 && < 3.12,
                      pandoc-types >= 1.20 && < 1.24,
                      skylighting >= 0.8.2.3 && < 0.15,
                      bytestring,
diff --git a/src/Network/Gitit/ContentTransformer.hs b/src/Network/Gitit/ContentTransformer.hs
--- a/src/Network/Gitit/ContentTransformer.hs
+++ b/src/Network/Gitit/ContentTransformer.hs
@@ -508,7 +508,11 @@
            (if xssSanitize cfg then sanitizeBalance else id) $
            either E.throw id . runPure $ writeHtml5String def{
                         writerTemplate = Just compiledTemplate
+#if MIN_VERSION_pandoc(3,11,0)
+                      , writerMathMethod =
+#else
                       , writerHTMLMathMethod =
+#endif
                             case mathMethod cfg of
                                  MathML -> Pandoc.MathML
                                  WebTeX u -> Pandoc.WebTeX $ T.pack u
