Skip to content

lopeztel/ox-dnd-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ox-dnd-html

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 (for Doom Emacs)

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:

  1. Open any .org file
  2. Export with C-c C-e d h (NOT C-c C-e h h)
  3. A directory <filename>_dnd/ is created with all assets

Screenshots

screenshot 1 screenshot 1 screenshot 1 screenshot 1 screenshot 1

Inspiration and disclaimer

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.

TODO

  • [] Source code looks wonky, fix that

About

Emacs export org files to D&D themed html

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors