Dozens B. McCuzzins 06935185be | ||
---|---|---|
README.md | ||
db.rec | ||
justfile | ||
macros.m4 | ||
story.md |
README.md
Rolldown
Rolling dice in markdown! Can it be done??
watch the video:
https://tube.tchncs.de/w/wvdZ36y4C4FFKNDf2MSBrn
this repo contains:
.
├── README.md
├── db.rec
├── justfile
├── macros.m4
└── story.md
- README.md -- this file
- db.rec -- a 'recfile' containing one record per possible outcome of rolling 2d6 based on a loose interpretation of the Powered By The Apocalypse system
- justfile -- just a collection of scripts
- macros.m4 -- an m4 macros file. no longer used, but preserved for historical value
- story.md -- a daring story about love, danger, and potatoes
other goodies:
-
tmux:
tmux send-keys
allows you to send arbitrary key strokes to other tmux panes. In the video, I used it to tell lynx to refresh itself each time the html file is recompiled. -
snippets: here's the snippet i ended up using to roll the dice:
snippet res "roll 2d6!"
recsel -P result -m 1 db.rec
endsnippet
more reading: