CC-FORMAT/README.md

30 lines
799 B
Markdown
Raw Normal View History

2025-04-17 18:38:31 +02:00
# CC-FORMAT
2025-04-17 18:52:33 +02:00
Scripts that format a word processor text into a (semi-)ready format to be published on http://computationalculture.net
Dependency: [pandoc](https://pandoc.org)
```
$> ./cc-format.sh
usage: ./cc-format.sh [action] [files...]
where action can be: [src-md|md-html|src-cc-html|src-html]
```
```
$> python format-cc-notes.py --help
usage: format-cc-notes.py [-h] --text TEXT [--divider DIVIDER] --output OUTPUT [--format FORMAT]
CC notes formatter
options:
-h, --help show this help message and exit
--text TEXT, -t TEXT Text file
--divider DIVIDER, -d DIVIDER
In-text markup divider for notes
--output OUTPUT, -o OUTPUT
Output file
--format FORMAT, -f FORMAT
Output format (cc, html)
```