Skip to content

loicreynier/pandoc-bbcode_nexus

Repository files navigation

Nexus Mods BBCode Pandoc writer

A WIP Pandoc Lua writer for Nexus Mods BBCode.

Usage

pandoc -t <path-to>/bbcode_nexus.lua <input> -o <output>

Features

  • Headers
  • Bold text
  • Italic text
  • Bullet List
  • Inline code (formatted as italic)
  • Code blocks
  • Quote blocks
  • Image
  • Video
  • Spoiler

Installation for Nix users

The flake packages the pandoc-bbcode_nexus binary which wraps

pandoc -t </nix/store/.../bbcode_nexus.lua> "@"

Since Pandoc does not have (yet) a standard location for custom writers, this is probably the simplest solution for Nix distribution.