24 Sep
2023
24 Sep
'23
7:59 a.m.
One improvement, though: apparently the syntax `` `word' `` is used for what in Markdown is `` `word` ``.
Well, not quite, it's supposed to be more like ‘word’. If we're willing to use pandoc, the following produces something that I think is fairly reasonable: ```bash sed ' /^[=-]\+$/d s/`/'\''/g /^The source is available/i#+BEGIN_COMMENT /^Vkd3d is available thanks to/i#+END_COMMENT s/^What'\''s new in vkd3d/* &/g ' ANNOUNCE \ | pandoc -f org -t commonmark \ <(printf "#+OPTIONS: ^:{}\n#+OPTIONS: ':t\n#+OPTIONS: -:nil\n") - \ >announce.md ``` In principle it could produce HTML for the proper website as well, with "-t html". -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/360#note_46532