Sign in

pandoc

@pandoc.fosstodon.org.ap.brid.gy
12 followers 0 following 21 posts

Tips and news about #pandoc, the universal document converter by John MacFarlane. This account is run by @tarleb. All posts made from this account are licensed under […] 🌉 bridged from ⁂ fosstodon.org/@pandoc, follow @ap.brid.gy to interact

PostsRepliesMedia
pandoc @pandoc.fosstodon.org.ap.brid.gy · 05/06/2026
🆕 pandoc 3.10 🚀 • Added a `--typst-input` option, which allows passing arbitrary `sys.inputs` parameters to the typst evaluator. • ODT now uses predefined styles instead of emitting automatic styles for every paragraph. The result is easier to style. Custom reference.odt documents should be […]
fosstodon.org
Original post on fosstodon.org
003
pandoc @pandoc.fosstodon.org.ap.brid.gy · 30/03/2026
Docker images in the pandoc/latex and pandoc/extra repositories have often had missing packages. The reason was the release of TeXLive 2026 and, what appears to be, a moody archive server for TeXLive 2025. The “latest” images, which contain the newest pandoc 3.9.0.2, come with TeXLive 2026 and […]
fosstodon.org
Original post on fosstodon.org
011
pandoc @pandoc.fosstodon.org.ap.brid.gy · 22/02/2026
The default HTML-output generated by pandoc is polyglot HTML, i.e., it's both valid HTML and XML. The `tidy` utility is tool that can generate pure HTML; it can also shed a few bytes by omitting optional tags. E.g. pandoc --to=html -s … | tidy -q -ashtml -omit #pandoc #html #html5 #xml #tidy
000
pandoc @pandoc.fosstodon.org.ap.brid.gy · 22/02/2026
New in pandoc 3.9: Many CSL styles will format citations differently when the same source has been cited earlier. In documents with chapters, it is usually desirable to reset this position information at the beginning of every chapter. To do this, add the class `reset-citation-positions` to the […]
fosstodon.org
Original post on fosstodon.org
000
pandoc @pandoc.fosstodon.org.ap.brid.gy · 14/02/2026
New off-label use: packing zip archives with pandoc: pandoc --extract-media=archive.zip <<EOF ! ! EOF #pandoc #offlabel
002
pandoc @pandoc.fosstodon.org.ap.brid.gy · 14/02/2026
New in pandoc 3.9: Passing a filepath with a `.zip` extension to the `--extract-media` command line parameter now collects all media files in that zip. E.g. pandoc --extract-media=images.zip … #pandoc #zip #media_files
101
pandoc @pandoc.fosstodon.org.ap.brid.gy · 09/02/2026
The Lua system now includes `pandoc.utils.documentation` for online help. Pass it a pandoc function or module, and it will return the docs for that object. #pandoc #onlineHelp #Lua
A terminal session featuring the pandoc Lua interpreter. The screen shows the result after running `pandoc.utils.documentation(pandoc.read)`. The output lists all function parameters of "pandoc.read", with a short descriptions and parameter data types; it also includes docs for the function's return value.
001
pandoc @pandoc.fosstodon.org.ap.brid.gy · 05/02/2026
RE: fosstodon.org/@pandoc/1160117070016… And it's completely ad-free, of course. Many thanks to everybody sponsoring us!
005
pandoc @pandoc.fosstodon.org.ap.brid.gy · 04/02/2026
“pandoc for the people”, the pandoc wasm web-app, is now available at pandoc.org/app It allows to run any kind of document conversion that pandoc supports in the browser. The documents never leave the computer, thus ensuring *full privacy*. Conversions to pdf are done via Typst […]
fosstodon.org
Original post on fosstodon.org
512124
pandoc @pandoc.fosstodon.org.ap.brid.gy · 04/02/2026
🆕 pandoc 3.9 🎉🚀 • Official support for wasm (WebAssembly), allowing to run pandoc in the browser, • *alerts* extension in the pandoc Markdown flavor, • support for defaults files using JSON instead of YAML, • extension of `${.}` vars in the `defaults` field, making it easier to base defaults […]
fosstodon.org
Original post on fosstodon.org
1111
pandoc @pandoc.fosstodon.org.ap.brid.gy · 30/01/2026
The pandoc wasm demo, which do document conversions in the browser, now supports Lua filters! pandoc.org/wasm-demo #pandoc #wasm #Lua #LuaFilter
pandoc.org
Pandoc in the browser
010
pandoc @pandoc.fosstodon.org.ap.brid.gy · 24/01/2026
RE: mastodon.social/@rustaceans/1159357… No matter your stance on projects created with LLM-tools, please remember that these new converters would not have been possible without the manual work that went into pandoc. The project here is a comparatively pleasant and positive […]
fosstodon.org
Original post on fosstodon.org
001
pandoc @pandoc.fosstodon.org.ap.brid.gy · 19/01/2026
Or as a single command, without a helper script: pandoc lua -l m=pandoc.mediabag \ -e 'm.insert(OUTFILE, m.fetch(URI))' \ -e 'm.write(".")' #pandoc #offLabel
000
pandoc @pandoc.fosstodon.org.ap.brid.gy · 19/01/2026
Off-label-use: pandoc as a network downloader Lua helper script (pget.lua): #!/usr/bin/env pandoc-lua local mb = require 'pandoc.mediabag' local path = require 'pandoc.path' local uri = arg[1] or error"No URI given" local out = arg[2] or path.filename(uri) local mt, content = mb.fetch(uri) mb […]
fosstodon.org
Original post on fosstodon.org
101
pandoc @pandoc.fosstodon.org.ap.brid.gy · 16/01/2026
Off-label-use of pandoc: convert numbers from Roman numerals to Arabic numerals. echo 'MMXXVI.' | pandoc -t commonmark ⇒ 2026. #pandoc #offLabel #romanNumerals
000
pandoc @pandoc.fosstodon.org.ap.brid.gy · 15/01/2026
Off-label uses of pandoc: conversion between text encodings. Convert text encodings, UTF-8 to UTF-16: echo 'X' | pandoc lua -e 'io.write(pandoc.text.toencoding(io.read"a", "utf-16"))' Other direction: echo 'X' | pandoc lua -e 'io.write(pandoc.text.fromencoding(io.read"a", "utf-16"))' The […]
fosstodon.org
Original post on fosstodon.org
101
pandoc @pandoc.fosstodon.org.ap.brid.gy · 08/01/2026
Pandoc in the browser, with a friendly interface. This app is a web-assembly version of pandoc, the documents never leave your computer: pandoc.org/wasm-demo/convert.html #pandoc #wasm
pandoc.org
Pandoc in the browser
0438
pandoc @pandoc.fosstodon.org.ap.brid.gy · 07/01/2026
The include-files Lua filter allows to include documents from other files. It supports easy adjustment of nested headings, reading files in different formats, and recursive transclusion. github.com/pandoc-ext/include-files #pandoc #LuaFilter
github.com
GitHub - pandoc-ext/include-files: Filter to include other files in the document
Filter to include other files in the document. Contribute to pandoc-ext/include-files development by creating an account on GitHub.
000
pandoc @pandoc.fosstodon.org.ap.brid.gy · 07/12/2025
The freshly baked Docker images for pandoc 3.8.3 are on Docker Hub and in GitHub Container Registry. Changes: The build-process for those images has been simplified thanks to the new arm64 binaries available for pandoc-crossref. Also, the #Typst images now ship with the latest version, Typst 0 […]
fosstodon.org
Original post on fosstodon.org
010
pandoc @pandoc.fosstodon.org.ap.brid.gy · 01/12/2025
🆕 pandoc 3.8.3 🎉 This release adds three new input formats (Asciidoc, PPTX, and XLSX) and one new output format (BBCode + variants). It also fixes a number of bugs (including some regressions in 3.8). See the changelog for full details. Thanks to all who contributed! […]
fosstodon.org
Original post on fosstodon.org
106
pandoc @pandoc.fosstodon.org.ap.brid.gy · 31/05/2024
Getting support for #pandoc • The "Discussions" forum on GitHub has become the central place for community support: github.com/jgm/pandoc/discussions • A wealth of knowledge can be found in the archive of the pandoc-discuss mailing list inbox.vuxu.org/pandoc-discuss • Likewise […]
fosstodon.org
Original post on fosstodon.org
000