A WIP Pandoc Lua writer for Nexus Mods BBCode.
pandoc -t <path-to>/bbcode_nexus.lua <input> -o <output>
- Headers
- Bold text
- Italic text
- Bullet List
- Inline code (formatted as italic)
- Code blocks
- Quote blocks
- Image
- Video
- Spoiler
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.