From 54e07f822b463c8d461fef254213f83c59d82810 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 1 Feb 2024 23:52:57 -0600 Subject: Refactor for interleaved shell commands and text --- readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 readme.md (limited to 'readme.md') diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..46c5943 --- /dev/null +++ b/readme.md @@ -0,0 +1,20 @@ +# subtext +## a layered roffish markup .. thing + +subtext is a way to write text using shell templating and roff-like aesthetics for fun. confused? I don't know how to describe it really. just look at the syntax, i guess. + +## syntax + +subtext's syntax is inspired by roff mostly, with some other line-oriented markups in there as well. its semantics are mostly inspired by this one program i read about reading files as shell here-docs. i kinda combined those ideas together to make an awk script that generates a shell script that you can execute to generate markup. i will *eventually* have html and gemtext macrofiles in this repo, so you can generate html and gemtext from the same source file. + +### text lines + +### shell substitution + +### dotted lines + +### hashed lines + +## what's a macrofile? + +note: i should probably change this name -- cgit 1.4.1-21-gabe81