This package provides a custom Org mode export backend that generates D&D-themed HTML with authentic tabletop RPG styling. It extends the standard HTML export backend to support named PAPERBOX and COMMENTBOX blocks via #+NAME: attributes.
Export creates a self-contained directory with HTML, CSS, JS, and fonts ready to deploy as a standalone website.
Installation (Doom Emacs):
Add to ~/.doom.d/packages.el:
(package! ox-dnd-html :recipe (:host github :repo "lopeztel/ox-dnd-html"
:files ("*.el" "ox-dnd-html-assets")))Add to ~/.doom.d/config.el:
(use-package ox-dnd-html :after org)Run: doom sync
Usage:
- Open any .org file
- Export with
C-c C-e d h(NOTC-c C-e h h) - A directory
<filename>_dnd/is created with all assets
This project is heavily inspired by CSS Zen Garden D D
I basically vibe coded the whole thing for fun, I claim no responsibility of anything :D
This is just a hobby project and is not affiliated with Wizards of the Coast. I acknowledge Wizards of the Coast and its products as the inspiration for the design of this page. Dungeons & Dragons, D&D, Wizards of the Coast, the dragon ampersand, all Wizards of the Coast product names, and their respective logos are trademarks of Wizards of the Coast in the USA and other countries.
- [] Source code looks wonky, fix that




