Update Preprocessors authored by Fabian Nuraddin Alexander Gabel's avatar Fabian Nuraddin Alexander Gabel
......@@ -5,6 +5,10 @@ The heart of this application is a markdown preprocessor for `pandoc` that allow
* [preproc_wg.sh](#preproc_wgsh)
* [preproc_staff.sh](#preproc_staffsh)
Further the auxiliary routine
* [extract_title.sh](#extract_titlesh)
is used.
The main tools for the preprocessor are regular expressions and [`sed`](https://www.gnu.org/software/sed/). These tools are used in order to translate `keys` for working groups or staff members into predefined values. These values are extracted from the corresponding files in `/static`
## `preproc_wg.sh`
......@@ -47,4 +51,16 @@ Furthermore a files `dgallaun.md` and `fgabel.md` are created containing the lin
See the command line help for further information regarding the options or type
```bash
preproc_staff.sh --help
```
\ No newline at end of file
```
## `extract_title.sh`
For a given markdown file containing the line
```
# Title of my topic
```
this routine returns
```
## [Title of my topic]($inputname.html)
```
to `stdout`
\ No newline at end of file