mod convert#

module convert#

Pandoc-backed markdown → Jira/Confluence wiki markup conversion.

Functions

fn convert_jira_to_markdown(jira: &str) -> Result<String>#

Convert Jira wiki markup back to markdown via pandoc -f jira -t markdown (the reverse of convert_markdown_to_jira; used by the Jira import read path).

fn convert_markdown_to_jira(markdown: &str) -> Result<String>#

Convert markdown text to Jira wiki markup via pandoc -f markdown -t jira.

fn convert_path_to_jira(path: &Path) -> Result<String>#

Read a markdown file and convert to Jira markup.

fn pandoc_jira_args() -> Vec<&'static str>#

Build the pandoc argv used for conversion (for unit tests of invocation construction).

fn pandoc_version_line() -> Option<String>#

First line of pandoc --version when available.

fn tool_available() -> bool#

Check whether pandoc is available on PATH.