Hacker GitHub

← All repos

commonmark/cmark

View on GitHub ↗ ★ 2,042 C

CommonMark parsing and rendering library and program in C

9 mentions on Hacker News by 7 people: 1 story, 8 comments · first 2017-10-03 · latest 2025-03-31

Mentions per year 9 mentions · busiest year 2024 (3)
20082026
  1. …have described on my blog, with an additional cmark conversion and find it quite simple [2]. [1] https://github.com/commonmark/cmark [2] https://github.com/tiehuis/tiehuis.github.io/blob/38b0fd58a2...
    comment by tiehuis · 2025-03-31 · in Why is this site built with C
  2. markdown -> xml -> hack around -> html is essentially a static site generator. https://github.com/commonmark/cmark works really well.
    comment by JonChesterfield · 2024-06-26 · in Igneous Linearizer: semi-structured source code
  3. I use GNU make and obsidian. Write content in markdown, feed it to https://github.com/commonmark/cmark to create html. I intended to splice files together using xslt but echo and cat written in the makefile sufficed. Plumbing is a bit…
    comment by JonChesterfield · 2024-03-29 · in Ask HN: What's the simplest static website generator?
  4. …an AST - That knowledge is kind of a branding misfire, the 'markdown' one is looking for is here https://github.com/commonmark/cmark - That cmark binary + some foreach-file style script will turn markdown into html or xml. If you choose…
    comment by JonChesterfield · 2024-01-08 · in Building a personal internet from Markdown files
  5. …implementation has been a long running project that's under the official commonmark GitHub repo at https://github.com/commonmark/cmark . But I think the most important thing here is an Elixir NIF already exists to use it. The blog post as…
  6. I just use the small reference C implementation of CommonMark and it works great: https://github.com/commonmark/cmark There is an example where you load it via shared library in Python, i.e. send a Markdown string and get back an HTML…
    comment by chubot · 2021-01-07 · in My stack is HTML+CSS
  7. Port https://github.com/commonmark/cmark from C to Go. Go has decent markdown parsers (I maintain one at https://github.com/gomarkdown/markdown/ ) but there is no parser that does CommonMark. That would be a valuable addition to Go…
    comment by kjksf · 2018-03-05 · in Golang Developer
  8. The reference implementation of CommonMark, cmark ( https://github.com/commonmark/cmark ) > cmark can render a Markdown version of War and Peace in the blink of an eye (127 milliseconds on a ten year old laptop, vs. 100-400 milliseconds…