Dozens B. McCuzzins 584efac545 | ||
---|---|---|
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 filedb.rec
-- a 'recfile' containing one record per possible outcome of rolling 2d6 based on a loose interpretation of the Powered By The Apocalypse systemjustfile
-- just a collection of scriptsmacros.m4
-- an m4 macros file. no longer used, but preserved for historical valuestory.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: