aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-04-05 14:33:00 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-04-05 14:33:56 +0200
commitacc8d0b450019c415a8d2bb8f5e411dc21079db2 (patch)
treeca696402edd7c4917369780155f9f3dc536a8696 /LICENSE
parentb41d8016980f2f8342455021342ff8fe984332e7 (diff)
downloadavail-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 'LICENSE')
0 files changed, 0 insertions, 0 deletions