Chrome Extension
Firefox Extension
Markdown to JIRA is just a tiny wrapper around J2M, a javascript library that converts Markdown to JIRA markup (and the other way around) that does all the work.
It's inspired by the much more powerful Markdown Here extension, that converts Markdown to HTML (I use it for Gmail).
This extension adds an entry to your right-click menu, called JIRA Formatting
that expands further in 2 entries:
MD to JIRA
JIRA to MD
When you right click on an issue page on JIRA, and select one of the 2 functionalities, the extension will replace the content with the equivalent markup.
The extension has been tested on the following domains:
*.jboss.org
*.apache.org
*.jira.com
*.atlassian.com
*.atlassian.net
But you can edit the list of enabled domains inside the extension options. Mind that Firefox and Chrome syntaxes are different, but the default values should be able to guide you.
You are encouraged to fork the extension and adapt it to your needs or to open a pull request if you wish to contribute back.
Consider that this was my first time writing an extension, so don't expect great engineering behind it. If you are into the topic I suggest you to read official Firefox documentation or to read Markdown Here.
This plugin is a web extension that runs with Chrome and Firefox. To work around vendor specific issues, Webpack is used to build the packages.
- Install yarn
- Run
yarn install
- Run
webpack
to produce the distribution source code (seedist/
)
Run with web-ext run
from within dist/firefox
.
Visit chrome://extensions
and load dist/chrome
.
- Run build (see above)
web-ext sign -s ./dist/firefox --api-key='XXXXXXXXXXXXXX' --api-secret='XXXXXXXXXXXXXXXX'
- Upload the build (see docs)
- Run build (see above)
- Visit
chrome://extensions/
- Use
dist/chrome
as the extension root directory - Add the secret private key to sign
- Upload the build (see docs)