summary refs log tree commit diff stats
path: root/test.ht
diff options
context:
space:
mode:
authorCase Duckworth2022-08-03 23:36:07 -0500
committerCase Duckworth2022-08-03 23:36:07 -0500
commit1c8e5f1ca9bf0eb6dad8a62bc87428610d96c350 (patch)
treea0e4c14ae7f88aca2ef777725641d95dccb4d52e /test.ht
parentAdd README (diff)
downloadht-1c8e5f1ca9bf0eb6dad8a62bc87428610d96c350.tar.gz
ht-1c8e5f1ca9bf0eb6dad8a62bc87428610d96c350.zip
Begin anew
I think this might really be something!
Diffstat (limited to 'test.ht')
-rw-r--r--test.ht45
1 files changed, 25 insertions, 20 deletions
diff --git a/test.ht b/test.ht index 0208568..97425a9 100644 --- a/test.ht +++ b/test.ht
@@ -1,27 +1,32 @@
1# a test 1# ht: a bespoke document preparation system
2 2
3here's a test for ht.awk. 3;; comments are like this.
4it's got paragraphs (these bad boys), long lines and such, and also raw blocks. 4;; they're a good time.
5=> https://example.com and links!
6 5
7>>> 6`ht
8rawblock example1: all of them, & more <hi!> 7is a quasi-line-based markup language that takes inspiration from
9## fee fi fo fum 8@https://gemini.circumlunar.space/docs/gemtext.gmi gemtext\
10<<< 9,
10@https://daringfireball.net/projects/markdown/ markdown\
11, and others.
12Its aim is to be somewhat easy to read while being fairly easy to parse.
11 13
12## just html 14In fact,
13but over two lines 15`ht
16is a simple awk script.
14 17
15>>> html 18## Usage
16rawblock example2: just html
17hey adora
18<<<
19 19
20### not html 20- one
21- two
22- three
21 23
22>>> -html 24ordered list:
23rawblock example3: everything /but/ html
24# with a header inside, blah
25<<<
26 25
27and finally, the end of the file. 26% one
27% two
28% three
29
30```
31./ht.awk source.ht
32```