Open tbussmann opened 1 year ago
Thanks for the input! I was not aware, that pandoc supports the Jira syntax. I'll play around with it a little bit, but I assume that the conversion will sometimes be "lossy", because Markdown does not support all the things that the old-style jira syntax supports (like panels or colored text). Maybe I'll include it as a hint in the README, or something like that.
For sure this is a somewhat lossy translation but the basic formatting works well out of the box. But your mileage will vary depending on the features required.
Pandoc supports different flavours of markdown, can configure their features and does allow to trigger scripts during the transformations. As it internally does support more features in its intermediate AST, it can be used in a rather flexible way with some initial effort.
This is a very clever little helper, thank you!
We can make use of markdown or virtually any other markup language instead of the old-style jira syntax with a little help of pandoc. As a POC, I created a little wrapper script and set my
$EDITOR
variable to this: