Expand description
Markup conversion for issue and pull-request text (plan conversations).
Hosts speak different markup: Jira wiki, Textile (Redmine), HTML (Azure DevOps Server, some trackers) and flavours of Markdown. Everything the app displays is normalised to Markdown first, and text the user writes is converted back for hosts that do not take Markdown. All of it is pure and lives here so the TUI, the CLI and MCP agree.
Every importer starts with sanitize: no escape sequence or control
character reaches a renderer.
The converters are deliberately forgiving rather than complete: what they do not understand stays as readable text.
Functionsยง
- html_
to_ markdown - HTML to Markdown. Unknown tags are dropped, their text kept.
- jira_
to_ markdown - Jira wiki markup to Markdown.
- markdown_
to_ html - Markdown to HTML for hosts that take HTML (Azure DevOps Server).
- markdown_
to_ jira - Markdown to Jira wiki markup.
- sanitize
textwith every character a terminal could act on removed.\r\nbecomes\n; a lone\ris dropped.- textile_
to_ markdown - Textile to Markdown.