{"id":13837980,"url":"https://github.com/dbuenzli/cmarkit","last_synced_at":"2025-10-20T10:06:46.962Z","repository":{"id":164349595,"uuid":"624600749","full_name":"dbuenzli/cmarkit","owner":"dbuenzli","description":"CommonMark parser and renderer for OCaml","archived":false,"fork":false,"pushed_at":"2024-10-23T21:43:29.000Z","size":277,"stargazers_count":47,"open_issues_count":9,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-24T10:17:46.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://erratique.ch/software/cmarkit","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbuenzli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/unicode_data.ml","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-06T20:48:17.000Z","updated_at":"2024-10-23T21:43:33.000Z","dependencies_parsed_at":"2023-12-21T12:24:33.451Z","dependency_job_id":"98ed4613-a4f3-4807-9f4e-113c0b44d7a2","html_url":"https://github.com/dbuenzli/cmarkit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbuenzli%2Fcmarkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbuenzli%2Fcmarkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbuenzli%2Fcmarkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbuenzli%2Fcmarkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbuenzli","download_url":"https://codeload.github.com/dbuenzli/cmarkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221819230,"owners_count":16885918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T15:01:32.453Z","updated_at":"2025-10-20T10:06:46.855Z","avatar_url":"https://github.com/dbuenzli.png","language":"OCaml","readme":"cmarkit — CommonMark parser and renderer for OCaml\n==================================================\n%%VERSION%%\n\nCmarkit parses the [CommonMark specification]. It provides:\n\n- A CommonMark parser for UTF-8 encoded documents. Link label resolution\n  can be customized and a non-strict parsing mode can be activated to add: \n  strikethrough, LaTeX math, footnotes, task items and tables.\n  \n- An extensible abstract syntax tree for CommonMark documents with\n  source location tracking and best-effort source layout preservation.\n\n- Abstract syntax tree mapper and folder abstractions for quick and\n  concise tree transformations.\n  \n- Extensible renderers for HTML, LaTeX and CommonMark with source\n  layout preservation.\n\nCmarkit is distributed under the ISC license. It has no dependencies.\n\n[CommonMark specification]: https://spec.commonmark.org/\n\nHomepage: \u003chttps://erratique.ch/software/cmarkit\u003e\n\n## Installation\n\ncmarkit can be installed with `opam`:\n\n    opam install cmarkit\n    opam install cmarkit cmdliner # For the cmarkit tool\n\nIf you don't use `opam` consult the [`opam`](opam) file for build\ninstructions.\n\n## Documentation\n\nThe documentation can be consulted [online] or via `odig doc cmarkit`.\n\nQuestions are welcome but better asked on the [OCaml forum] than on\nthe issue tracker. \n\n[online]: https://erratique.ch/software/cmarkit/doc\n[OCaml forum]: https://discuss.ocaml.org/\n\n## Sample programs \n\nThe [`cmarkit`] tool parses and renders CommonMark files in various\nways.\n\nSee also [`bench.ml`] and the [doc examples].\n\n[`cmarkit`]: test/cmarkit_tool.ml\n[`bench.ml`]: test/bench.ml\n[doc examples]:  test/examples.ml\n\n## Acknowledgements\n\nA grant from the [OCaml Software Foundation] helped to bring the first\npublic release of `cmarkit`.\n\nThe `cmarkit` implementation benefited from the work of John\nMacFarlane ([spec][CommonMark specification], [`cmark`]) and Martin\nMitáš ([`md4c`]).\n\n[`cmark`]: https://github.com/commonmark/cmark\n[`md4c`]: https://github.com/mity/md4c\n[OCaml Software Foundation]: http://ocaml-sf.org/\n","funding_links":[],"categories":["OCaml"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbuenzli%2Fcmarkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbuenzli%2Fcmarkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbuenzli%2Fcmarkit/lists"}