Pandoc

John MacFarlane·JohnMacFarlane.Pandoc

If you need to convert files from one markup format into another, pandoc is your swiss-army knife.

winget install --id JohnMacFarlane.Pandoc --exact --source winget

Latest 3.11·August 29, 2026

Release Notes

I'm pleased to announce the release of pandoc 3.11, available in the usual places: Binary packages & changelog: https://github.com/jgm/pandoc/releases/tag/3.11 Source & API documentation: http://hackage.haskell.org/package/pandoc-3.11 Some changes of note:

  • A new --math-method option, which replaces the (now deprecated but still functional) options --mathml, --mathjax, --gladtex, --katex, --webtex. The plain style can now be specified explicitly. In defaults files, html-math-method is now math-method (though html-math-method will still work).
  • mathml is now the default math-method.
  • A new option --completion={bash,zsh,fish} generates completion scripts for all three shells (see the manual for instructions on how to use them). --bash-completion continues ot work, an alias of --completion=bash.
  • It is now possible to reset a Markdown example list counter (e.g., at the beginning of a chapter), using the syntax (1@) or (1@label).
  • Enhanced support for RTL languages: RTL text direction now works in ODT. In addition, setting lang at the document level is now sufficient in Docx to make documents RTL.
  • Fixed pandoc 3.8 regressions in syntax highlighting.
  • Fixed a security-related bug in template fetching which could result in a local file being fetched instead of a remote one. API changes:
  • Text.Pandoc.Options: Rename HTMLMathMethod type to MathMethod. Rename writerHTMLMathMethod field of WriterOptions to writerMathMethod.
  • Text.Pandoc.App: the optHTMLMathMethod constructor for OPt is renamed to optMathMethod. Thanks to all who contributed, especially new contributors Wrong-Code and wzy. Click to expand changelog
  • Add --math-method option. This replaces (now deprecated but still functional) options --mathml, --mathjax, --gladtex, --katex, --webtex. The plain style can now be specified explicitly. In defaults files, html-math-method is now math-method (though html-math-method will still work).
  • Make mathml the default math-method (#11751).
  • Add --completion={bash,zsh,fish} (#8542, wzy). Make --bash-completion an alias of --completion=bash. See the manual for instructions on how to use these completions.
  • Text.Pandoc.Options [API change]:
    • Rename HTMLMathMethod type to MathMethod.
    • Rename writerHTMLMathMethod field of WriterOptions to writerMathMethod.
  • Markdown reader:
    • Add a syntax (1@label) for resetting example list counter (#10940). This is needed often at the beginning of a chapter.
  • MediaWiki writer:
    • Put around possible URLs (#11834). Otherwise they get linkified automatically.
  • Docx reader:
    • Handle case where non-header rows come before header rows (#11833).
    • Improve handling of tables with uneven rows (#11833).
  • RTF Reader:
    • Add support for nested tables (#11218, Alex).
  • Typst reader:
    • Remove handling of ‘block’ as an inline-level element (#11814).
  • HTML reader:
    • Handle pre without code (#11810). Preserve whitespace as nonbreaking spaces.
  • ODT/OpenDocument writers:
    • Support RTL text direction (#11301). RTL is now properly handled in these cases: dir: rtl (or ltr) in document metadata; an RTL lang in metadata (e.g. he, ar), unless overridden by dir; a dir attribute on a Div. Code blocks remain ltr regardless.
    • Use style:language-complex rather than fo:language for RTL languages (#11301).
    • Fix treatment of DefaultHighlighting (#11829).
  • Docx writer:
    • Initialize envLang from lang metadata (#11301). This ensures that setting lang will affect the whole document. Previously, setting lang to he was not sufficient to make the document RTL.
  • JATS writer:
    • Fix illegal use of p element inside p (#11809).
  • Ms writer:
    • Fix treatment of DefaultHighlighting (#11829). (Regression from 3.8.)
  • ConTeXt writer:
    • Fix bug in syntax highlighting (#11829). (Regression from 3.8.)
  • Text.Pandoc.App.Opt:
    • In Opt, change optHTMLMathMethod to optMathMethod. [API change]
  • MSI installer: Fix upgrade detection for per-machine installations (#11827, Wrong-Code). Previously, registry records of previous versions were not being removed.
  • Text.Pandoc.Templates:
    • Fix bug in getTemplate. When calling fetchItem in getTemplate, we temporarily reset the stSourceURL in CommonState so that the template is sought locally. Previously, an exception in fetchItem would prevent stSourceURL from being set back to its original value. This could result in a local file being fetched instead of a remote one. Note that an exception is triggered when one uses e.g. --template default.html5; in that case getTemplate handles the exception by looking for the file in the user data directory. This patch fixes the bug so that the stSourceURL is reset regardless of whether fetchItem raises an exception. Thanks to Yingjie Su for identifying the problem.
  • beamer template: remove spurious extra tableofcontents (#11819).
  • Text.Pandoc.App.CommandLineOptions:
    • Export OptionSpec, which can encode the type of completion needed by each option (wzy).
  • Add new unexported module Text.Pandoc.Completion (wzy).
  • Replace a use of nub with nubOrd.
  • Use latest releases of djot, asciidoc, typst, texmath.
  • MANUAL.txt:
    • Add a note that thanks in typst doesn’t currently work (#11807).
    • Note that sourcepos extension works for djot too.

Installer types: wix, zip

x64userwix4C70230CFDCA774AF92084E9C4B88AAD4031CA3F99A11B885D6BC755A5332CCA
x64machinewix4C70230CFDCA774AF92084E9C4B88AAD4031CA3F99A11B885D6BC755A5332CCA
x64—zip2AB72BAF2399450E148DDF7A2A8689806C42E1BBA71862B57E220FD9B8456D3D

Details

Homepage
https://pandoc.org/
License
GPL-2.0
Publisher
John MacFarlane
Support
https://github.com/jgm/pandoc/issues
Copyright
Copyright (C) 2006-2024 John MacFarlane <jgm at berkeley dot edu>

Tags

converterdocdocsmarkdownpandoc

Older versions (66)

3.10.2
x64—zip52487FAAA63F8CEF5363D5A771097DA001228D61C6F44F32ED41B27A98C0278C
x64userwix937ED557C4565F4E7C7E1EE59CB059DFE8AAFC9ADB5B422BFDF688FCAEE63A0B
x64machinewix937ED557C4565F4E7C7E1EE59CB059DFE8AAFC9ADB5B422BFDF688FCAEE63A0B
3.10.1
x64—zip4725A1883E2171C2E181E6FD45003ACB59CA4E9CBE031FDD3B79EF0D697D36AA
x64userwixCD2FB4A07BD22139AEA56EC43763A61602AADDC9D58B96F7811D71585355E214
x64machinewixCD2FB4A07BD22139AEA56EC43763A61602AADDC9D58B96F7811D71585355E214
3.10
x64—zipBB808D00FD58762299D64582A9B4C3E4B106CD929E62C5F19BCDCB496F1E54AE
x64userwix5334F560AFB99EFC2917C95DDD6D4337F4562F57B0122839B611854E2A6678E0
x64machinewix5334F560AFB99EFC2917C95DDD6D4337F4562F57B0122839B611854E2A6678E0
3.9.0.2
x64—zipC97542F2800F446E788D9F74237856D995421AD1BB3CC8324286840C5F272D3A
x64userwixA7BEB0CC40CE4D17EBCD2CD9F28CE000DD1F0AA4D95E3446E9C73CA43AFF8F60
x64machinewixA7BEB0CC40CE4D17EBCD2CD9F28CE000DD1F0AA4D95E3446E9C73CA43AFF8F60
3.9.0.1
x64—zip5877F28018AF6BBC76238600B75BC0829B450E92B0DAAAE0AD4927696C9D2460
x64userwixBFB2E673559655BFC0A22DA82E936BDA963EB38FAFE885B1156E9FCE3E2B9E9E
x64machinewixBFB2E673559655BFC0A22DA82E936BDA963EB38FAFE885B1156E9FCE3E2B9E9E
3.9
x64—zipEDCCDAA95B5A33B3320187F0E291D58A232E21318A8081750BD31F847E598D18
x64userwixBC6A2666E5B5F3C487266EC008634CF85733A01556B6781F17FDEE639D26AA97
x64machinewixBC6A2666E5B5F3C487266EC008634CF85733A01556B6781F17FDEE639D26AA97
3.8.3
x64—zipA77C14078A5C4C6E396D5F5C03F4849EFF4A858414BB9E69560BB35528CBF57A
x64userwix06CB0B14AC918890453A7C3021E300413CFD83B4BD7EF0FCEB5207C2241A2DB9
x64machinewix06CB0B14AC918890453A7C3021E300413CFD83B4BD7EF0FCEB5207C2241A2DB9
3.8.2.1
x64userwixfd4dd760e7f696fd93f8c5628b42a359059b1f752bd03c30bf15fe7a824cd7da
x64machinewixfd4dd760e7f696fd93f8c5628b42a359059b1f752bd03c30bf15fe7a824cd7da
x64—zipDED73890567AE71B945C8B36B8B33F89B5ED7357A9156A233445B46F92A5BC82
3.8.2.0
x64userb428a6277ea32016c8e1426ed328b47c45599a21d7e5260ee610da1cf975a4db
x64machineb428a6277ea32016c8e1426ed328b47c45599a21d7e5260ee610da1cf975a4db
3.8.1.0
x64user8A756F1AAB3A6032A60428C98468CCCBA690624D1CF4D0EED6065BF14E4B95E2
x64machine8A756F1AAB3A6032A60428C98468CCCBA690624D1CF4D0EED6065BF14E4B95E2
3.8.0.0
x64user63E34AADF772A182FB88513D2E5EA894C0C813A9D3A72BD14E0B0D6058F553AC
x64machine63E34AADF772A182FB88513D2E5EA894C0C813A9D3A72BD14E0B0D6058F553AC
3.7.0.2
x64userFE64E16B76855FFF6DD15CB9967F5680CBB31495B5FF968DC5E5304CB9B3A23D
x64machineFE64E16B76855FFF6DD15CB9967F5680CBB31495B5FF968DC5E5304CB9B3A23D
3.7
x64user2A855F58F76F7EEA28E71200C6121D630AD69391319FBE27CB9FC19E1574173E
x64machine2A855F58F76F7EEA28E71200C6121D630AD69391319FBE27CB9FC19E1574173E
3.6.4
x64userC8B050467EBE41DCD86F2C47B138CD8B527AED7299392DCD00A6EB71B40EAAB7
x64machineC8B050467EBE41DCD86F2C47B138CD8B527AED7299392DCD00A6EB71B40EAAB7
3.6.3
x64user1B62900B94EBE8E5881D7763DC1C74827633F0CF72D55A5AB88807D28B87263A
x64machine1B62900B94EBE8E5881D7763DC1C74827633F0CF72D55A5AB88807D28B87263A
3.6.2
x64userE9A8036CC298AE3D92105D5909C805A0A069CC988E7938703C4041B3E24A13AA
x64machineE9A8036CC298AE3D92105D5909C805A0A069CC988E7938703C4041B3E24A13AA
3.6.1
x64user4EB59305269B932BE263E8E427828B0E92BA7F381CDCCA3AC62618608A84B578
x64machine4EB59305269B932BE263E8E427828B0E92BA7F381CDCCA3AC62618608A84B578
3.6
x64userEFC621BB08901FBF9C78CC71D5C00D8E67EB9318F8EF994D908D71E0D28EB702
x64machineEFC621BB08901FBF9C78CC71D5C00D8E67EB9318F8EF994D908D71E0D28EB702
3.5
x64user27C0EDCA626CA830A299851E639115B3C5D982AD40BC2F8FCCF1D5F077C4A8BB
x64machine27C0EDCA626CA830A299851E639115B3C5D982AD40BC2F8FCCF1D5F077C4A8BB
3.4
x64user6E8B998C2F859501E62ECBB2540E6CE85907430CFF3C68C7A83720C4B671BA65
x64machine6E8B998C2F859501E62ECBB2540E6CE85907430CFF3C68C7A83720C4B671BA65
3.3
x64userBFF3B8859E4AD933E9D143AFA26A4B886C0996D0BD6244F48B36344BA3235D2D
x64machineBFF3B8859E4AD933E9D143AFA26A4B886C0996D0BD6244F48B36344BA3235D2D
3.2.1
x64user2A8705FA9FF7BC0F2D40AB8700F343E8ECBC293DE9D6DA4168AF775D935D9DBE
x64machine2A8705FA9FF7BC0F2D40AB8700F343E8ECBC293DE9D6DA4168AF775D935D9DBE
3.2
x64user0E00BF2C7C4C656019F117D65E84BB29C6746B5C0C9EF4AE05DA811BA35C6ED2
x64machine0E00BF2C7C4C656019F117D65E84BB29C6746B5C0C9EF4AE05DA811BA35C6ED2
3.1.13
x64user51DA43AAEB93926921BEB777D18B2362D9B6A785D1333177291BB5E8834A4874
x64machine51DA43AAEB93926921BEB777D18B2362D9B6A785D1333177291BB5E8834A4874
3.1.12.3
x64userED0BAB1BB37C58ACD4AB49E485BB01BB0A93E94763150B5C66BA799DA0836292
x64machineED0BAB1BB37C58ACD4AB49E485BB01BB0A93E94763150B5C66BA799DA0836292
3.1.12.2
x64user31C39D40E54DC37E217DE6F1803D351E5649168F7B4E9D6387BE2CBF1B787E8C
x64machine31C39D40E54DC37E217DE6F1803D351E5649168F7B4E9D6387BE2CBF1B787E8C
3.1.12.1
x64userA2A4C6D84A2F43BA2EDA87EC9AA6E299754A28D467E504CDBD112AF2E9131877
x64machineA2A4C6D84A2F43BA2EDA87EC9AA6E299754A28D467E504CDBD112AF2E9131877
3.1.12
x64user0B3948DB47EA68EC0625FD3683DB51788DC12F006A75E51EC455CA41B30EF632
x64machine0B3948DB47EA68EC0625FD3683DB51788DC12F006A75E51EC455CA41B30EF632
3.1.11
x64userE74B9E89CEAE98E39AF511B4866C59EBC3C5C910D3B28F934B83917894E04B00
x64machineE74B9E89CEAE98E39AF511B4866C59EBC3C5C910D3B28F934B83917894E04B00
3.1.10
x64user78F864940535A192FEFFC145544C7690D150F663DE5C06C867BFD0E9B6A1718A
x64machine78F864940535A192FEFFC145544C7690D150F663DE5C06C867BFD0E9B6A1718A
3.1.9
x64user0C1B20A705DC2E48083E43CFCB52C7983B8BEA06F3344FF88BA8E3C5555D8A41
x64machine0C1B20A705DC2E48083E43CFCB52C7983B8BEA06F3344FF88BA8E3C5555D8A41
3.1.8
x64user22A6C0A68151BDC6F98AA587C02CF8A3C89CD387F1D3A4004307EF5A6A304727
x64machine22A6C0A68151BDC6F98AA587C02CF8A3C89CD387F1D3A4004307EF5A6A304727
3.1.7
x64machineB97BD1053A820698D47547A2CE525D2A3E9A301616B35C22CF4080BA605720A3
x64userB97BD1053A820698D47547A2CE525D2A3E9A301616B35C22CF4080BA605720A3
3.1.6.2
x64—6627BB4654D6043B2678C08BFF7119A942ED07103678C754FAF34C3233ED5535
3.1.6.1
x64—9A9539E62EBF4C797E59F617B3735D548ECD0AFAA68C9B4CECC827244F517ABC
3.1.6
x64—E44D7D0918EBCD070D1526C41EDB3AF282864860C86505DF82AF99609203D608
3.1.5
x64—33C03225ECF10812DC69A5C1B524B363DF27E6FC03358FBD20C6B4E4D2C0C0CC
3.1.2
x64user6A22860BF7D008350BDA36F6EC1E292264171B89C68A0727FC80243EE8761C2A
x64machine6A22860BF7D008350BDA36F6EC1E292264171B89C68A0727FC80243EE8761C2A
3.1.1
x64user0D03C7B7B3C43D15A124481BDCB662513B62286DC1372C4DEFF3FDCF3B5DDF69
x64machine0D03C7B7B3C43D15A124481BDCB662513B62286DC1372C4DEFF3FDCF3B5DDF69
3.1
x64user225AA0389600F66D1CCD78B378A617A9A780CB3D1E41E875124CE94DA5AC19BA
x64machine225AA0389600F66D1CCD78B378A617A9A780CB3D1E41E875124CE94DA5AC19BA
3.0.1
x64user185299CBF38E04822A5773756EC919C7B8B6F69EA2092B261D1B85DDC1F92D3F
x64machine185299CBF38E04822A5773756EC919C7B8B6F69EA2092B261D1B85DDC1F92D3F
3.0
x64user49BDFE386B192AB4093B87902355E3667F74780E19E3530FCE57799AAA6976D9
x64machine49BDFE386B192AB4093B87902355E3667F74780E19E3530FCE57799AAA6976D9
2.19.2
x64user7D543E03466EB618269AE9E49F1794DDD73860DA180F3ACEA53B0F5F97350259
x64machine7D543E03466EB618269AE9E49F1794DDD73860DA180F3ACEA53B0F5F97350259
2.19.1
x64userED4FB05CB6ED4ACC99D8A1FCEF1D2C8B4E53D5D2F33EE23DCF32A94BC45D76F9
x64machineED4FB05CB6ED4ACC99D8A1FCEF1D2C8B4E53D5D2F33EE23DCF32A94BC45D76F9
2.19
x64user61D995DA6CD970A0C741516C4B5AC0170993E3AB9F74A9772E7B5EC8344540DC
x64machine61D995DA6CD970A0C741516C4B5AC0170993E3AB9F74A9772E7B5EC8344540DC
2.18
x64userAFBCAA39A85BD44BE89346036E09FE31DB5712281C42EF384F1F86C97EEA9745
x64machineAFBCAA39A85BD44BE89346036E09FE31DB5712281C42EF384F1F86C97EEA9745
2.17.1.1
x64user3D7AE712C6A007633C2285E5E1680858B1CC13E2B9C9E77C57A075F5C14F48B9
x64machine3D7AE712C6A007633C2285E5E1680858B1CC13E2B9C9E77C57A075F5C14F48B9
2.17.1
x64user8134E589BDDB8C53A92D341286814B7FD4D8F1B160475390328CBE9ECAEC9287
x64machine8134E589BDDB8C53A92D341286814B7FD4D8F1B160475390328CBE9ECAEC9287
2.17.0.1
x64user16265E7D0F04B3F8864F447D7692544CE7B1EFEB0AA13A5F89F5026683A428D2
x64machine16265E7D0F04B3F8864F447D7692544CE7B1EFEB0AA13A5F89F5026683A428D2
2.17
x64user0BB34D234EB405EBBC6D35FD3F0AE25A21D7E30B5266E16AFA99339E5CD70646
x64machine0BB34D234EB405EBBC6D35FD3F0AE25A21D7E30B5266E16AFA99339E5CD70646
2.16.2
x64userB1338812F359A90649261360B0ECFA3AB6565712258909EE8AAE39CDEBE735BC
x64machineB1338812F359A90649261360B0ECFA3AB6565712258909EE8AAE39CDEBE735BC
2.16.1
x64userB20EA000C51B84DB983A74D81407010ED01F7E7A99A857E007EED94F6DCA9EEB
x64machineB20EA000C51B84DB983A74D81407010ED01F7E7A99A857E007EED94F6DCA9EEB
2.16
x64userDF376110EEF22867F15AFECD4E006E4B192E01426C19EBBC12E7F9E6A7E787E3
x64machineDF376110EEF22867F15AFECD4E006E4B192E01426C19EBBC12E7F9E6A7E787E3
2.15
x64user9FD16A1C5B207B376C2C995E803D776F4A18E5683659BEECB53FF8A28048B850
x64machine9FD16A1C5B207B376C2C995E803D776F4A18E5683659BEECB53FF8A28048B850
2.14.2
x64user659A3D6A3D71277C8A8767A0F69A9B6DE85A76EFF1887CE3FBA8C7FDF89A7695
x64machine659A3D6A3D71277C8A8767A0F69A9B6DE85A76EFF1887CE3FBA8C7FDF89A7695
2.14.1
x64—339DEF5FA43CB36D5A2BD3A9A6EAA699CB7DD4C5683F91BFE77964F9517AE0AE
2.14.0.3
x64—8FAF5C8AF9A0766CD49DE406ACDA560038F1F94FD9AB737D8C11A9B144C3CA8F
2.14.0.2
x64—8DCFEB18A6D2CC3F21EE13CB0D83E8BE1B24EF6B4B44C4530D4FE2CD6C668AC0
2.14.0.1
x64—525EB387D2E229C58918C317E22030FDEDA313F320F6DD597481DE69E969AFEA
2.13
x64—B010B3D572BC9C922CC7F141D313D686FE340A913D8C36489149F6FF67A2422A
2.11.4
x64—344C1F1043E735E25EA54A1E9598B0A20FBB12C51CD71A7AFDE6F0E16D26907E
2.11.3.2
x64—35F321B612FB2BEB0ABD174A413ADB2AB54F72FC1729F002EE045D4FEC212DE6
2.11.1
x64—5A4F2BC95946C6EE2AEE1626B5F0640DF4E449FD0D8F7E80F070B60264CA6D74
2.11.0.2
x64—BCAE64838338CC0F3C274A6BA4548EF541F15E5A1A53861B098CCB2BC063FB93
2.10.1
x64—8AE3B4DC783A9CC0AE60442DE75B18B054177783E2B7DA9EFB2471383AD27B34
2.9.2.1
x64—9C9F5FBDE483519BB4CC55DF9EC54B537CE30593C45ABDC7E7426A4EE5E229E4