Comments (3)
Annother issues with Ordered Lists that start with bold,...:
In DITA-OT 3.3 ordered list items that start with bold, italics, codeph tag are intended with 3 spaces instead of 2 while transformed to markdown. When a paragraph is included in this list item it is interpreted as codeblock:
DITA xml source:
<ol>
<li>List item 1 of Ordered List</li>
<li>
<b>List item 2 of Ordered List</b>
<p>New Paragraph of List item 2 of Ordered List.</p>
</li>
<li>List item 3 of Ordered List</li>
</ol>
Markdown result when transformed with markdown (raw):
Between the "2." and the "**" are 3 spaces instead of 2.
1. List item 1 of Ordered List
2. **List item 2 of Ordered List**
New Paragraph of List item 2 of Ordered List.
3. List item 3 of Ordered List
Preview of transformed Markdown result:
Hint: Preview was tested for commonmark on https://babelmark.github.io
from org.lwdita.
Finally a List item that starts directly with a codeblock is also not properly transformed:
DITA xml source:
<ol>
<li>List item 1 of Ordered List</li>
<li>
<codeblock>List item 2 is a codeblock</codeblock>
</li>
<li>List item 3 of Ordered List</li>
</ol>
Markdown result when transformed with markdown (raw):
A linefeed is missing.
Not list item 2 is interpreted as codeblock, but item 3 that is incorrect:.
Preview of transformed Markdown result:
Hint: Preview was tested for commonmark on https://babelmark.github.io
from org.lwdita.
Attached is the xml source file and the (expected) markdown result for all these findings.
Test.zip
from org.lwdita.
Related Issues (20)
- Support topics without a title
- Gradle ArchiveName property was deprecated and is not supported in Gradle 8.x HOT 1
- inline markup in `<pre>` processed in XDITA but not MDITA HOT 4
- XDITA `@format` must be `dita` not `xdita` HOT 3
- Re-enable MDITA backtick support and convert to LwDITA `<tt>` HOT 3
- ID attribute in links not generated with chunk="to-content" HOT 1
- Broken links in GitBook `SUMMARY.md` when chunk="to-content" HOT 1
- Output code spans for programming & software domain elements HOT 2
- Wikidocs format tweaks
- Support note type content in MDITA HOT 2
- Don't wrap single-line list elements in paragraphs HOT 3
- keys do not resolve HOT 2
- `{.example}` header attribute does not work. HOT 7
- `<audio>` does not work HOT 1
- Publishing Failed with Markdown Docs where Formula is in use HOT 7
- SAXNotRecognizedException when converting Markdown using Saxon 12.2 HOT 1
- Errors are not presented when converting Markdown to DITA
- Add support for notes in GitHub syntax HOT 2
- Generated step elems do not have cmd inside them HOT 2
- Remove old project HOT 2
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 org.lwdita.