mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
MIT License
756 stars 138 forks source link

entity.h is not exposed as a public header #160

Closed dominickpastore closed 5 months ago

dominickpastore commented 3 years ago

I'm not sure if this is intentional, but entity.h is not exposed as a public header in src/CMakeLists.txt.

I suppose this makes sense, since entity.c is only built as part of MD4C-HTML, and users of that library don't need entity.h directly. But maybe it would be a good idea to make entity.c/.h available to applications that need to implement their own renderer.

mity commented 5 months ago

I think https://html.spec.whatwg.org/entities.json should work as the authoritative source rather than MD4C.