{"id":25695824,"url":"https://github.com/moonbit-community/cmark","last_synced_at":"2025-02-25T01:03:04.144Z","repository":{"id":260244633,"uuid":"879594088","full_name":"moonbit-community/cmark","owner":"moonbit-community","description":"Cmark.mbt is a CommonMark toolkit for MoonBit.","archived":false,"fork":false,"pushed_at":"2025-02-14T03:12:45.000Z","size":381,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T03:31:06.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mooncakes.io/docs/#/rami3l/cmark/","language":"MoonBit","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moonbit-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-28T07:48:25.000Z","updated_at":"2025-02-14T03:12:47.000Z","dependencies_parsed_at":"2024-12-04T07:28:23.744Z","dependency_job_id":"22241155-5229-4c98-bb3d-a7c7c033dd60","html_url":"https://github.com/moonbit-community/cmark","commit_stats":null,"previous_names":["moonbit-community/cmark"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fcmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fcmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fcmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fcmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moonbit-community","download_url":"https://codeload.github.com/moonbit-community/cmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240582038,"owners_count":19824148,"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":"2025-02-25T01:01:09.998Z","updated_at":"2025-02-25T01:03:04.132Z","avatar_url":"https://github.com/moonbit-community.png","language":"MoonBit","readme":"# cmark\n\nCmark is a [CommonMark][CommonMark specification] toolkit for the MoonBit programming language,\nstarted as a MoonBit rewrite of the [`cmarkit`] library from the OCaml ecosystem.\n\nSo far, it supports the following use cases:\n\n- Parsing CommonMark documents with best-effort source-aware layout preservation:\n- Rendering CommonMark documents via the `Renderer` API, along with a ready-to-use HTML renderer.\n\nSupported CommonMark features include:\n\n- Vanilla CommonMark syntax;\n- Common syntax extensions, including:\n  - Strikethroughs\n  - Task lists\n  - Footnotes\n  - Tables\n  - Inline math\n  - Math blocks\n\n## Building\n\nTo begin, you will need to install a recent MoonBit toolchain.\nTo do so, please refer to instructions at MoonBit's\n[official website](https://www.moonbitlang.com/download).\n\nOnce you have the toolchain installed, you can build this project by running the following command:\n\n```sh\nmoon build\n```\n\n## Testing\n\nWith the MoonBit toolchain installed, you can run the tests by executing the following command:\n\n```sh\nmoon test\n```\n\n## Acknowledgements\n\n`cmark` is built on top several pre-existing projects. Thanks go to:\n\n- Daniel Bünzli for the [`cmarkit`] project;\n- John MacFarlane for the [CommonMark specification] and the [`cmark`] project;\n- Martin Mitáš for the [`md4c`] project.\n\n[CommonMark specification]: https://spec.commonmark.org/\n[`cmark`]: https://github.com/commonmark/cmark\n[`cmarkit`]: https://github.com/dbuenzli/cmarkit\n[`md4c`]: https://github.com/mity/md4c\n","funding_links":[],"categories":["Examples and Projects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonbit-community%2Fcmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonbit-community%2Fcmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonbit-community%2Fcmark/lists"}