4 ms·
With Pandoc's Simple Table format[1] it's as simple as (plain ASCII): : October 2021 Su Mo Tu We Th Fr Sa -- -- -- -- -- -- --
by zmix 5y ago
With Pandoc's Simple Table format[1] it's as simple as (plain ASCII):
: October 2021
Su Mo Tu We Th Fr Sa
-- -- -- -- -- -- --
01 02
03 04 05 06 07 08 09
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
the only caveat being, that "October 2021" is implemented as caption and thus will become centered.
And then:
pandoc -f markdown -t html -o ./pandoc-table.html ./pandoc-table.md
[1]: https://pandoc.org/MANUAL.html#tables https://pandoc.org/MANUAL.html#tables
- zmix 5y agoNow if cal(1) could produce this, that would be even more awesome. Currently it does this by default: Oktober 2021 So Mo Di Mi Do Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31