about summary refs log tree commit diff stats
path: root/readme.md
blob: 46c59438e161399a0b4164fc07c47e547cea1736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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