Fix Markdown display

This commit is contained in:
Dimitri Lozeve 2022-09-15 17:41:24 +02:00
parent e453a54ecb
commit 476dd885d1

View file

@ -24,7 +24,8 @@
(display-all departures disruptions station-name datetime)
(when mattermost-url
(let ((tab-str-md
(with-output-to-string (lambda () (display-all departures disruptions station-name datetime)))))
(with-output-to-string
(lambda () (display-all departures disruptions station-name datetime style: 'markdown)))))
(post-to-mattermost mattermost-url tab-str-md channel: mattermost-channel))))
(def (parse-arguments args)