From ebfa64ab0bf1cbd713230af15f3a3ce20378e01c Mon Sep 17 00:00:00 2001 From: opFez Date: Fri, 30 Jul 2021 18:44:52 +0200 Subject: [PATCH] add writan example --- resources/writan-example.txt | 14 ++++++++++++++ site-src/codex.src | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 resources/writan-example.txt diff --git a/resources/writan-example.txt b/resources/writan-example.txt new file mode 100644 index 0000000..e2d3dbf --- /dev/null +++ b/resources/writan-example.txt @@ -0,0 +1,14 @@ +* This is a heading + +** This is a subheading + +{codex} < That is an implicit, internal link. + +{codex This is an explicit, internal link.} + +{http://example.com This is an external link.} + +This is a normal paragraph. Paragraphs can have newlines anywhere in them to +allow for 80 character lines. They're separated by two consecutive newlines. + +This is a second paragraph. diff --git a/site-src/codex.src b/site-src/codex.src index 9c10a1a..26129ad 100644 --- a/site-src/codex.src +++ b/site-src/codex.src @@ -3,8 +3,7 @@ Codex is a wiki engine written in C99 and POSIX shell script. It's inspired by {https://wiki.xxiivv.com/site/ XXIIVV}, - {https://pbat.ch/wiki pbat.ch} - and similar personal wikis. +{https://pbat.ch/wiki pbat.ch} and similar personal wikis. It uses a simple {writan formatting language} to generate its pages.