pandoc's Avatar

pandoc

@pandoc

Tips, tricks and announcements about pandoc, the universal document converter.

12
Followers
12
Following
10
Posts
11.11.2024
Joined
Posts Following

Latest posts by pandoc @pandoc

Preview
pandoc (@pandoc@fosstodon.org) 490 Posts, 73 Following, 2.68K Followers Β· Tips and news about #pandoc, the universal document converter by John MacFarlane. This account is run by @tarleb@scholar.social. All posts made from this ac...

Follow on Mastodon for up-to-date tips (fosstodon.org/@pandoc) or use a bridge account (@pandoc.fosstodon.org.ap.brid.gy)

18.11.2025 15:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

#Markdown tip: the most commonly used syntax for horizontal rules seems to be three hyphens

---

However, this overlaps with YAML block syntax and setext headings, thus can lead to problems. It can thus be clearer to use three or more asterisks instead

* * *

The interposed spaces are optional.

22.09.2025 07:27 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

3.
``` {=comment}
Creative use of raw blocks.
Included in md output, dropped everywhere else.
```

02.06.2025 13:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

2.
---
# YAML block with comment.
# Always removed.
---

02.06.2025 13:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Three methods to add a #comment to #pandoc #Markdown texts:

1.
<!-- HTML comment; will show up in HTML output,
unless suppressed with `--strip-comments` -->

02.06.2025 13:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Release pandoc 3.7.0.2 Β· jgm/pandoc I'm pleased to announce the release of pandoc 3.7.0.2, available in the usual places: Binary packages & changelog: https://github.com/jgm/pandoc/releases/tag/3.7.0.2 Source & API documentation: htt...

Patch release: pandoc 3.7.0.2.
β€œThis release fixes some regressions in grid table rendering introduced in 3.7. There are a few other nice improvements as well; see the changelog for details.”
Thanks to all who contributed!
github.com/jgm/pandoc/r...

29.05.2025 11:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Code for Thought Welcome to Code for Thought, the podcast about software for research and the people who make it.Β  Languages: English, German, French

For many, #Pandoc is the go-to tool to manage, write, transform text in all its different formats. Listen to my chat with the creator, John MacFarlane, & core dev, Albert Krewinkel, in this episode [EN] of #code4thought. Out on your Podcast app, YouTube podcast or codeforthought.buzzsprout.com

20.05.2025 08:37 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Release pandoc 3.7 Β· jgm/pandoc I'm pleased to announce the release of pandoc 3.7, available in the usual places: Binary packages & changelog: https://github.com/jgm/pandoc/releases/tag/3.7 Source & API documentation: http://hack...

πŸ†• pandoc 3.7 ✨
Features:
β€’ Structured variables can now be passed via `--variable-json`
β€’ Row/colspans in grid-table output (#Markdown and #RST)
β€’ #Lua: the `pandoc.read` function can be used in β€œsandboxed” mode

See the changelog for the full list of changes
github.com/jgm/pandoc/r...

#pandoc

15.05.2025 06:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
pandoc-wasm playground

Pandoc compiled to Wasm (WebAssembly), which enables live conversions in the browser.
β€’ Live demo: tweag.github.io/pandoc-wasm/
β€’ Repository: github.com/tweag/pandoc...
#pandoc #Wasm #ghc

19.11.2024 08:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

#pandoc #Markdown tip: "backslash-escape" spaces to make them non-breaking. E.g.:
J.\ R.\ R.\ Tolkien
or
128\ cm
This prevents the surrounding words from ending up on different lines.

11.11.2024 09:54 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Watch this space for #pandoc tips, tricks, and announcements.

11.11.2024 09:48 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0