markdown2confluence | Converting Markdown to Confluence Markup using Kramdown Gem
kandi X-RAY | markdown2confluence Summary
kandi X-RAY | markdown2confluence Summary
This code is a quick hack for converting markdown to Atlassian confluence markup language. It's not a 100% full conversion, but I find it rather usuable already. I will continue to improve where possible. The gem is based on Kramdown.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of markdown2confluence
markdown2confluence Key Features
markdown2confluence Examples and Code Snippets
Community Discussions
Trending Discussions on markdown2confluence
QUESTION
I am trying to translate markdown file into confluence markup as a complete beginner.
I need to make [Title](https:// site.com)
into [Title|https:// site.com]
. If it was just one link, i could add it to a var and printf it, but I am having trouble figuring out how to do it if I have 10 links for example.
Previously I used CONTENT=$(echo "${CONTENT//# /h1. }") to replace strings but since now every string is different, I am stuck at how to solve this. I found the solution written in javascript: http://chunpu.github.io/markdown2confluence/browser but fail to understand how to do it in bash.
ANSWER
Answered 2020-Aug-26 at 14:11For this test file
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install markdown2confluence
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page