JIRA to MarkDown text format converter.
npm install jira2md
npm install jira2md
`Supported Conversions
NOTE: All conversion work bi-directionally (from jira to markdown and back again).* Headers (H1-H6)
* Bold
* Italic
* Bold + Italic
* Un-ordered lists
* Ordered lists (with help from aarbanas)
* Programming Language-specific code blocks (with help from herbert-venancio)
* Inline preformatted text spans
* Un-named links
* Named links
* Monospaced Text
* ~~Citations~~ (Removed in 2.0.0)
* Strikethroughs
* Inserts
* Superscripts
* Subscripts
* Single-paragraph blockquotes
* Tables (thanks to erykwarren)
* Panels (thanks to erykwarren)
How to Use
$3
We'll refer to this as the
md variable in the examples below.`
Some bold things
Some italic stuff
H2
`$3
We'll refer to this as the
jira variable in the examples below.`
Some bold things*
_Some italic stuff_
h2. H2
[http://google.com]
`$3
`javascript
// Include the module
const j2m = require('jira2md');// If converting from Mardown to Jira Wiki Syntax:
const jira = j2m.to_jira(md);
// If converting from Jira Wiki Syntax to Markdown:
const md = j2m.to_markdown(jira);
// If converting from Markdown to HTML:
const html = j2m.md_to_html(md);
// If converting from JIRA Wiki Syntax to HTML:
const html = j2m.jira_to_html(jira);
``