about sad (simple ansi documents)
sad is a custom document file format I initially inteded for note-taking and terminal based documents, but I also began using it for school work and now for my website. In terms of features, the "standard" version only supports sectioning and styling.
Due to personal preferences, all the sad specific things in documents are controlled using "switches" similar to freepascal compiler switches.
The sadsuite is implemented in 100% freepascal. It is licensed under the BSD 3-Clause license.
format overview
a sad is split into a header and a body. standard switches which can be used in the header are: * {$title} <document title> – set the document title
* {$meta <tag name>} <value> – set a custom metadata tag
* {$start} – end the header and start the body
switches which can be used in the body are:
* {$section} <section name> – start a section
* {$end} – end a section
* {$head} – format line as a heading
* {$style <style name> <style arguments>} – apply a style on the following text.
* {$reset} – remove the latest applied style for the following text
* {$reset-all} - remove all styles for the following text
links
* The sadsuite on git.heroin.trade