Comments (1)
Hi @rohand-cerebras!
It was made like this because markdown renderers handle list numbers correctly, even if they are the same. You can check it in the GitHub comments:
- a
- numbered
- list
HTML renderers (e.g. https://github.com/Python-Markdown/markdown) handle this correctly as well:
import markdown
print(
markdown.markdown("""
1. a
1. numbered
1. list
""")
)
# <ol>
# <li>a</li>
# <li>numbered</li>
# <li>list</li>
# </ol>
Such approach also simplifies the code, because I don't need to track list item numbers.
from jira2markdown.
Related Issues (17)
- Allow new version of pyparsing HOT 6
- Add underline support HOT 3
- Examples of overriding various markup to "plain text"? HOT 2
- Add github image support HOT 2
- Add conversion for sub/super-script HOT 6
- license HOT 1
- Can't convert a link in a table in markup language. HOT 4
- AttributeError HOT 4
- Converting Jira lists with CRLF line-breaks adds erroneous whitespace to subsequent text HOT 5
- Emphasis text HOT 2
- Add {panel} translation as block quote HOT 4
- Add ??citation?? conversion as <q> tag
- `{noformat}` should accept the same parameters as `{panel}` HOT 3
- Example usage does not execute HOT 2
- ListIndent missing abstract method _generateDefaultName HOT 5
- Indentation breaks list recognition HOT 4
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 jira2markdown.