md2docx (1.0.0+git20261121164546.d324dd5-1~ppa1~ubuntu26.04.1)

Published 2026-11-21 16:48:11 +00:00 by pillarsdotnet

Installation

sudo curl  -o /etc/apt/keyrings/forgejo-pillarsdotnet.asc
echo "deb [signed-by=/etc/apt/keyrings/forgejo-pillarsdotnet.asc]  $distribution $component" | sudo tee -a /etc/apt/sources.list.d/forgejo.list
sudo apt update

Choose $distribution and $component from the list below.

sudo apt install md2docx=1.0.0+git20261121164546.d324dd5-1~ppa1~ubuntu26.04.1

Repository info

Distributions
resolute
Components
main
Architectures
all

About this package

convert Markdown to .docx driven by a configuration file md2docx wraps pandoc, but instead of accepting pandoc's default look it compiles a configuration file into two throwaway artifacts and hands them to pandoc: a reference.docx whose styles.xml carries the configured run and paragraph properties, and a Lua filter that routes inline constructs pandoc would otherwise render with direct formatting (emphasis, strong, strikeout, ...) through named character styles, so the configuration can reach them. . Only the Python standard library is required; python3-yaml is used when present so that YAML configuration files work too.

Dependencies

pandoc
python3:any