Comments (1)
I have attached a sequence of screenshots showing:
- The source markdown that includes mixed ordered and unordered nested lists (also see below).
- The current markdown2confluence output; neither indenting or ordered/unordered lists are correctly converted.
- What the output looks like when put into Jira.
- What the Jira markup should look like to capture the nested lists (both ordered and unordered).
- How Jira displays the correct markup.
Here is a snipit of my markdown that is used in the screenshots:
###Preconditions:
* Will need to add myself to project, may need to add to group in project for authorizations and/or workflow
1. Server Manager > Administer Users and Groups > Users
1. FindMyNetID
1. Action Menu > Edit Project Assignment
1. Find Project/Site in list.
1. Click on left-most check box, Ad Roles radio button, both right-most checkboxes.
* Customers should have some content in the CMS (it doesn't have to be much).
* Hosting
1. They must chose where the test and production sites will publish.
* Our hosting server (bold.doit.wisc.edu) - used for test, DoIT Shared Hosting,
* Their departmental hosting - If any other place than our hosting server or DoIT SharedHosting we need SFTP usernames and passwords for their test and production sites.
* Usually the DNS name for the test site will start with "wwwtest." e.g., wwwtest.quality.wisc.edu
* Normal DNS for production, e.g., quality.wisc.edu or www.quality.wisc.edu
* We configure both prod/test sites at the same time.
* Obfuscate prod username by adding '-DISABLED' to the uid to prevent publishing. When prod is ready, simply remove '-DISABLED' to publish site to production hosts.
* Do the configuration workflow "CMS Publication Configuration" on the CampusCMS wiki [https://wiki.doit.wisc.edu/confluence/display/CMS/CMS+Publication+Configuration](https://wiki.doit.wisc.edu/confluence/display/CMS/CMS+Publication+Configuration)
It's interesting that markdown uses indenting to determine nesting while Jira uses multiple symbols:
* Item 1
* Item 2
* Item 2a
* Item 2b
* Item 2ba
* Item 2bb
* Item 3
versus
* Item 1
* Item 2
** Item 2a
** Item 2b
*** Item 2ba
*** Item 2bb
* Item 3
The markdown is much easier to read, which, of course, is the point. The current markdown2confluence preserves indenting but does not do the correct markup. I did a test and the Jira markup still works indented! So it looks like the only change (!) is to track the indenting and put the right number of * or # and they can remain in the first column. This produces correct results:
* Item 1
* Item 2
** Item 2a
** Item 2b
### Item 2ba
### Item 2bb
* Item 3
from markdown2confluence.
Related Issues (14)
- convert list with utf-8 failed
- Multi-line quoted content only quotes the first line in Confluence output
- Numbered lists get converted to bulleted lists
- Single newlines are passed through, are interpreted as hard newlines by Confluence HOT 1
- Not rendering double underscores
- code blocks with language identifiers not being rendered properly HOT 1
- Single-line code snippets translate to inline monospaced
- License file
- Can't install/won't work on Windows with Cygwin
- h6 tags are not converted properly HOT 2
- Add escape characters HOT 2
- Code blocks - language hint converted 2 code content HOT 4
- License missing from gemspec
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown2confluence.