Comments (3)
The Markdown spec is totally ambiguous about this input. It doesn't specify how many spaces are required to form a nested list. Some implementations require 4; others require 2.. It looks like people may be settling on 2 now because of CommonMark, so I'll leave this open with the intention of switching to that.
from mmmarkdown.
Thanks for the quick response! That makes sense. From an end user of this library perspective, I think two things could make it more awesome, documentation about supported markdown. Without looking at the code, how should I have known how to get nested lists? The second thing, would be, since there's an option to designate "GitHubFlavored" markdown, then I think it should be kept in-sync with that, and there it's pretty clearly https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#lists defined that two spaces indent a list. How can I help? Thanks again, this is great!
from mmmarkdown.
It should be pretty easy to change the code to use 2 spaces for lists if you wanted to open a PR. You'd also need to adjust any failing tests and possibly add a test like your example above.
from mmmarkdown.
Related Issues (20)
- The following text hangs the conversion HOT 2
- Use real machine test crash: Reason: image not found HOT 2
- Static NSRegularExpression initializations HOT 3
- Confirm: versions of OSes HOT 1
- About markdown parser HOT 1
- code block inside ListItem in BulletedList HOT 4
- Which version can support iOS7? HOT 1
- URL parsing failure HOT 1
- Parsing failure
- Get the Markdown text back from UITextView HOT 2
- Bold with * parsing issue HOT 2
- Request ability to disable html pass through
- How to not mark down the <script>content</script>
- How to change font size?
- Using MMMarkdown, only system font will show bold or italicized text HOT 2
- Support for syntax highlighting HOT 1
- If hash at the beginning of text, MMMarkdown thinks it is a header HOT 3
- Why is a new line character inserted after a <br /> tag in the HTML output HOT 4
- Pb Tables HOT 1
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 mmmarkdown.