Homebrew
Installs from the Weavon tap with bash, zsh, and fish completions.
brew install weavon/tap/weavonRun one line to install v0.1.0, and add --as-pandoc to link the pandoc command.
Run on macOS or Linux, or select Windows above.
curl -fsSL https://weavon.github.io/weavon/install.sh | shPrint the version.
weavon --versionRun the installer with --as-pandoc, or make a link with the name pandoc. Under this name, Weavon behaves as Pandoc 3.13.
curl -fsSL https://weavon.github.io/weavon/install.sh | sh -s -- --as-pandocThe first line is pandoc 3.13, and the second line names Weavon.
pandoc --versionInstalls from the Weavon tap with bash, zsh, and fish completions.
brew install weavon/tap/weavonAdd the Weavon bucket once, then install on Windows.
scoop bucket add weavon https://github.com/weavon/scoop-bucket
scoop install weavon/weavonDownloads the prebuilt binary. Use cargo install --locked to build from source.
cargo binstall --git https://github.com/weavon/weavon weavon-cliInstalls Weavon on each runner. as-pandoc: true routes Pandoc steps to it.
- uses: weavon/weavon@v0.1.0
with:
as-pandoc: trueWrites PDF with no TeX. Mount your folder at /data.
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD:/data" ghcr.io/weavon/weavon notes.md -o notes.pdf --pdf-engine=embeddedRuns weavon from PATH with no Python or Node setup.
repos:
- repo: https://github.com/weavon/weavon
rev: v0.1.0
hooks:
- id: weavon-lint
- id: weavon-fmtConverts files, exports PDF with no TeX, and reports lint findings in Problems.
cd plugins/vscode
npx @vscode/vsce package
code --install-extension weavon-0.1.0.vsixAdds :WeavonConvert, :WeavonPdf, :WeavonLint, and :WeavonDiff via lazy.nvim.
{
"weavon/weavon",
config = function(plugin)
vim.opt.rtp:append(plugin.dir .. "/plugins/weavon.nvim")
require("weavon").setup({})
end,
}Installs prebuilt wheels with bundled libweavon_c and a pypandoc compat module.
pip install weavonInstalls bundled WebAssembly with zero npm dependencies on Node.js 22 or later.
npm install weavonInstallers download from the v0.1.0 release. Run sh install.sh --help for options.
Requires Rust 1.99 or later and a C compiler for bundled Lua 5.4.8 and LPeg 1.1.0.
git clone https://github.com/weavon/weavon
cd weavon
cargo build --release -p weavon-cli
Generate completion scripts for zsh, bash, fish, and PowerShell.
weavon completions zsh > "${fpath[1]}/_weavon"
The v0.1.0 release provides binaries for macOS (arm64 and x86_64), Linux (x86_64 and arm64), and Windows (x86_64). Installers detect your platform automatically.
You need Rust 1.99 or later and a C compiler, which compiles the bundled Lua 5.4.8 and LPeg 1.1.0 C sources.
Run pip install weavon. Prebuilt wheels bundle libweavon_c for macOS, Linux, and Windows with no Rust toolchain needed.
Run npm install weavon on Node.js 22 or later. The package bundles weavon_wasm.wasm with zero npm dependencies and full TypeScript types.
Delete the weavon binary and the pandoc symlink if you created one, or run cargo uninstall weavon-cli for Cargo installs.