diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-05 14:33:00 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-04-05 14:33:56 +0200 |
| commit | acc8d0b450019c415a8d2bb8f5e411dc21079db2 (patch) | |
| tree | ca696402edd7c4917369780155f9f3dc536a8696 /Readme.md | |
| parent | b41d8016980f2f8342455021342ff8fe984332e7 (diff) | |
| download | avail-lessons-acc8d0b450019c415a8d2bb8f5e411dc21079db2.tar.gz avail-lessons-acc8d0b450019c415a8d2bb8f5e411dc21079db2.zip | |
support a output header and make the formatted events available to the format
I use this oputput configuration:
```toml
output_header = """
Woche Datum LP-Abschnitt Std. LP-A. Unterrichtseinheit
----- --------- ------------ ---------- ------------------------"""
fmt = "{week:>5} {date.strftime('%d.%m'):>9} {' '*12} {' '*10} {period_events}"
```
To produce a formatted pandoc simple table looking like this:
Woche Datum LP-Abschnitt Std. LP-A. Unterrichtseinheit
----- --------- ------------ ---------- ------------------------
16 18.04 Event1 & Event2
17 25.04 Event3
18 02.05 Event3 & Event4
...
Diffstat (limited to 'Readme.md')
0 files changed, 0 insertions, 0 deletions
