teekennedy / goldmark-markdown Goto Github PK
View Code? Open in Web Editor NEWGoldmark extension that renders and formats markdown files
License: MIT License
Goldmark extension that renders and formats markdown files
License: MIT License
In some Markdown implementations, a sublist to be considered an actual sublist, it must be indented with at least 4 spaces, e.g.:
- List
- This will work
- Another list
- This will not work
One example: https://python-markdown.github.io/:
The syntax rules clearly state that when a list item consists of multiple paragraphs, “each subsequent paragraph in a list item must be indented by either 4 spaces or one tab” (emphasis added). However, many implementations do not enforce this rule and allow less than 4 spaces of indentation. The implementers of Python-Markdown consider it a bug to not enforce this rule.
It would be great if this project supported an option to customise this, since it is not always possible to adjust the renderer to fix this issue.
First, thanks for this small and nice renderer and the description in the README and provided examples!
After parsing a document with table extension, like this:
gm := goldmark.New(goldmark.WithExtensions(extension.Table))
...the resulting document is a "little bit destroyed", this seems to be caused by the missing "KindTable" for the renderer.
Is there a plan to implement it or would this be possible by a custom extension, e.g. with this PR #16 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.