{"id":27039745,"url":"https://github.com/richmd/core","last_synced_at":"2025-09-09T11:23:52.536Z","repository":{"id":283849475,"uuid":"952904130","full_name":"richmd/core","owner":"richmd","description":"Richmd expand basic Markdown syntax to customaize it. This is @richmd/core package.","archived":false,"fork":false,"pushed_at":"2025-04-03T11:29:06.000Z","size":3132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T08:36:57.226Z","etag":null,"topics":["code","katex","markdown","markdown-parser","richmd"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richmd.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,"zenodo":null}},"created_at":"2025-03-22T05:40:45.000Z","updated_at":"2025-05-06T06:24:34.000Z","dependencies_parsed_at":"2025-06-12T19:35:53.447Z","dependency_job_id":"ba61b55f-7f88-4813-9825-ea9ff4634a2f","html_url":"https://github.com/richmd/core","commit_stats":null,"previous_names":["richmd/richmd-next","richmdjs/richmd-next","richmd/core"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/richmd/core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmd%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmd%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmd%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmd%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richmd","download_url":"https://codeload.github.com/richmd/core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmd%2Fcore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274290599,"owners_count":25258152,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["code","katex","markdown","markdown-parser","richmd"],"created_at":"2025-04-05T03:18:54.882Z","updated_at":"2025-09-09T11:23:52.495Z","avatar_url":"https://github.com/richmd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Richmd v4\n\n![NPM License](https://img.shields.io/npm/l/%40richmd%2Fcore)\n![NPM Version](https://img.shields.io/npm/v/%40richmd%2Fcore)\n![NPM Downloads](https://img.shields.io/npm/dw/%40richmd%2Fcore)\n\n## What is Richmd?\nRichmd is a tool for making Rich contents Markdown language.\n\n![Richmd](./docs/images/preview.png)\n\n## Usage\nIn general, installing `@richmd/core` is not necessary. For actual usage, we recommend using one of the following packages instead.\n\n### JavaScript (TypeScript)\nFor more details, please see the README of [@richmd/js](https://github.com/richmd/js).\n\n```sh\npnpm add @richmd/js\n```\n\n### React\nFor more details, please see the README of [@richmd/react](https://github.com/richmd/react).\n\n```sh\npnpm add @richmd/react\n```\n\n### Vue\nFor more details, please see the README of [@richmd/vue](https://github.com/richmd/vue).\n\n```sh\npnpm add @richmd/vue\n```\n\n## Methods\n### `parseTree()`\n\nYou can retrieve Abstract Syntax Tree (AST) data using the `parseTree` method.\nThis is useful for customizing code generation on your own.\n\nTo use the parser standalone, you need to install `@richmd/core`.\n\n```sh\n$ pnpm add @richmd/core\n```\n\n#### Sample\n\n```js\nimport { parseTree } from '@richmd/core';\n\nconst text = `# aaaa\n## aaaaa\n\n**aaaaaa**\n`\n\nconst ast = parseTree(text);\n```\n\n## Markdown Syntax\nPlease read [Richmd Markdown Syntax Documentation](./docs/md-syntax.md).\n\n### Supported Syntax\n- strong\n- italic\n- image\n- link\n- headings\n- horizontal rule\n- blockquote\n- unordeed list\n- ordered list\n- strikethrough\n- code block\n- checkbox list\n- table\n- TeX syntax (using [KaTeX](https://katex.org/))\n- Color Inline Block\n- Dropdown details\n- Video(HTML5 Video Tag)\n- Custom HTML Tag\n- [Slide Mode (v4 ~)](./docs/slide-mode.md)\n\n## License\nMIT\n\n## Thank you :pray:\n- [Markdown-tree-parser](https://github.com/ysugimoto/markdown-tree-parser)\n  - Richmd's Markdown parser was created using the code in markdown-tree-parser as a reference.\n- [KaTeX](https://github.com/KaTeX/KaTeX)\n- [highlight.js](https://github.com/highlightjs/highlight.js/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichmd%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichmd%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichmd%2Fcore/lists"}