{"repo":"yuin/goldmark","free":true,"listed":false,"github":"https://github.com/yuin/goldmark","clone":"git clone https://github.com/yuin/goldmark.git","description":":trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.","language":"Go","stars":4951,"topics":["markdown","commonmark","golang","go"],"license":"MIT","category":"productivity","readme_excerpt":"goldmark ========================================== A Markdown parser written in Go. Easy to extend, standards-compliant, well-structured. goldmark is compliant with CommonMark 0.31.2. - goldmark playground : Try goldmark online. This playground is built with WASM(5-10MB). There is also a Rust version of goldmark: rushdown Motivation ---------------------- I needed a Markdown parser for Go that satisfies the following requirements: - Easy to extend. - Markdown is poor in document expressions compared to other light markup languages such as reStructuredText. - We have extensions to the Markdown syntax, e.g. PHP Markdown Extra, GitHub Flavored Markdown. - Standards-compliant. - Markdown has many dialects. - GitHub-Flavored Markdown is widely used and is based upon CommonMark, effectively mooting the question of whether or not CommonMark is an ideal specification. - CommonMark is complicated and hard to implement. - Well-structured. - AST-based; preserves source position of nodes. - Written in pure Go. golang-commonmark may be a good choice, but it seems to be a copy of markdown-it. blackfriday.v2 is a fast and widely-used implementation, but is not CommonMark-compliant and cannot be extended from outside of the package, since its AST uses structs instead of interfaces. Furthermore, its behavior differs from other implementations in some cases, especially regarding lists: Deep nested lists don't output correctly #329, List block cannot have a second line #244, etc. This behavior","default_branch":null,"files":null,"tree":[],"storefront":"/r/yuin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yuin/goldmark/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}