{"repo":"amauryt/cr-cmark-gfm","free":true,"listed":false,"github":"https://github.com/amauryt/cr-cmark-gfm","clone":"git clone https://github.com/amauryt/cr-cmark-gfm.git","description":"Crystal C bindings for cmark-gfm to work with Commonmark and Github Flavored Markdown","language":"Crystal","stars":22,"topics":["crystal","commonmark","gfm","markdown"],"license":"BSD-2-Clause","category":"productivity","readme_excerpt":"cr-cmark-gfm Crystal C bindings for cmark-gfm, with support for Github Flavored Markdown ( v0.29.0.gfm.8 ). For more information regarding the available options and extensions see the official GFM spec documentation. Features: - Simple parsing and rendering of markdown content - Render any node of the markdown AST in the following formats: - HTML - XML - Plaintext - Commonmark (including GFM-only nodes) - Groff man pages - LaTeX - Create custom renderers or customize the included crystal HTML renderer, which outputs the same HTML as the library's C renderer - Getters and setters for almost all of the properties of AST nodes - Tree traversal and manipulation - Directly create and customize nodes Installation Add the dependency to your shard.yml and then run shards install : This will automatically clone the cmark-gfm repository and compile both libcmark-gfm and libcmark-gfm-extensions , which can then be statically linked. Usage The Cmark module offers high-level parsing and rendering of markdown content, be it Commonmark-only, full GFM, or partially GFM. If the content is Commonmark-only use the respective commonmark parsing and HTML rendering methods for the best performance. If all of the GFM extensions must be enabled use the gfm methods. For partial support of GFM extensions use the more generic document methods. Node creation and rendering Tree traversal and manipulation Custom rendering Alternatives Other alternatives (from which this shard took inspiration) are: markd:","default_branch":null,"files":null,"tree":[],"storefront":"/r/amauryt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/amauryt/cr-cmark-gfm/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."}