{"id":15023053,"url":"https://github.com/johackim/remark-obsidian","last_synced_at":"2025-06-13T22:05:00.313Z","repository":{"id":37987521,"uuid":"489985764","full_name":"johackim/remark-obsidian","owner":"johackim","description":"Remark plugin to support Obsidian markdown syntax","archived":false,"fork":false,"pushed_at":"2023-08-07T18:54:45.000Z","size":55,"stargazers_count":48,"open_issues_count":6,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-06T11:34:05.507Z","etag":null,"topics":["nodejs","obsidian","remark"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johackim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-05-08T15:43:56.000Z","updated_at":"2024-08-23T00:04:40.000Z","dependencies_parsed_at":"2024-09-22T19:00:40.983Z","dependency_job_id":null,"html_url":"https://github.com/johackim/remark-obsidian","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.05882352941176472,"last_synced_commit":"43eca54e7ff3d25d116d33ecf57d70f568b1bd17"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johackim%2Fremark-obsidian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johackim%2Fremark-obsidian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johackim%2Fremark-obsidian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johackim%2Fremark-obsidian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johackim","download_url":"https://codeload.github.com/johackim/remark-obsidian/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866281,"owners_count":16555908,"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":["nodejs","obsidian","remark"],"created_at":"2024-09-24T19:58:40.940Z","updated_at":"2024-10-10T18:06:46.037Z","avatar_url":"https://github.com/johackim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remark-obsidian\n\n[![Version](https://img.shields.io/npm/v/remark-obsidian.svg?colorA=181C31\u0026colorB=212839\u0026label=version\u0026sort=semver\u0026style=flat-square)](https://www.npmjs.com/package/remark-obsidian)\n[![License](https://img.shields.io/badge/license-GPL%20v3%2B-yellow.svg?style=flat-square\u0026colorA=181C31\u0026colorB=212839)](https://raw.githubusercontent.com/johackim/remark-obsidian/master/LICENSE.txt)\n\nRemark plugin to support Obsidian markdown syntax.\n\n## Requirements\n\n- Nodejs \u003e= 14\n\n## Features\n\n- [x] Support `\u003e [!CALLOUT]`\n- [x] Support `==highlight text==`\n- [x] Support `[[Internal link]]`\n- [x] Support `[[Internal link|With custom text]]`\n- [x] Support `[[Internal link#heading]]`\n- [x] Support `[[Internal link#heading|With custom text]]`\n- [x] Support `![[Embed note]]`\n- [ ] Support `![[Embed note#heading]]`\n\n## Installation\n\n```bash\nyarn add -D remark-obsidian\n```\n\n## Usage\n\nWith [remark](https://github.com/remarkjs/remark/) :\n\n```js\nimport { remark } from 'remark';\nimport remarkObsidian from 'remark-obsidian';\n\nconst html = String(await remark().use(remarkObsidian).process('[[Hello world]]'));\nconsole.log(html); // \u003ca href=\"/hello-world\"\u003eHello world\u003c/a\u003e\n```\n\nWith [unified](https://github.com/unifiedjs/unified) :\n\n```js\nimport { unified } from 'unified'\nimport remarkObsidian from 'remark-obsidian';\nimport remarkParse from 'remark-parse';\nimport remarkRehype from 'remark-rehype';\nimport rehypeStringify from 'rehype-stringify';\n\nconst { value } = unified()\n    .use(remarkParse)\n    .use(remarkObsidian)\n    .use(remarkRehype, { allowDangerousHtml: true })\n    .use(rehypeStringify, { allowDangerousHtml: true })\n    .processSync('[[Hello world]]');\n\nconsole.log(value); // \u003ca href=\"/hello-world\"\u003eHello world\u003c/a\u003e\n```\n\n## Running the tests\n\n```bash\nnpm test\n```\n\n## License\n\nThis project is licensed under the GNU GPL v3.0 - see the [LICENSE](https://raw.githubusercontent.com/johackim/remark-obsidian/master/LICENSE.txt) file for details\n\n**Free Software, Hell Yeah!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohackim%2Fremark-obsidian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohackim%2Fremark-obsidian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohackim%2Fremark-obsidian/lists"}