{"id":15880965,"url":"https://github.com/rajasegar/remark-ember-abc","last_synced_at":"2025-06-11T22:36:21.414Z","repository":{"id":57352985,"uuid":"256412650","full_name":"rajasegar/remark-ember-abc","owner":"rajasegar","description":"A remark plugin to transform Handlebars codeblocks to Angle brackets syntax","archived":false,"fork":false,"pushed_at":"2023-08-03T06:26:12.000Z","size":246,"stargazers_count":5,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T00:12:36.708Z","etag":null,"topics":["codemod","codemods","documentation","ember","markdown","readme","remark","remark-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rajasegar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-17T05:46:28.000Z","updated_at":"2020-09-11T06:17:23.000Z","dependencies_parsed_at":"2022-09-05T11:40:44.135Z","dependency_job_id":null,"html_url":"https://github.com/rajasegar/remark-ember-abc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajasegar%2Fremark-ember-abc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajasegar%2Fremark-ember-abc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajasegar%2Fremark-ember-abc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajasegar%2Fremark-ember-abc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajasegar","download_url":"https://codeload.github.com/rajasegar/remark-ember-abc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864629,"owners_count":20360356,"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":["codemod","codemods","documentation","ember","markdown","readme","remark","remark-plugin"],"created_at":"2024-10-06T03:23:07.302Z","updated_at":"2025-03-17T13:31:08.180Z","avatar_url":"https://github.com/rajasegar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remark-ember-abc\n\n[remark](https://github.com/remarkjs/remark) plugin to transform the code blocks \nin Handlebars syntax to Angle brackets syntax for Ember apps/addon documentation written in Markdown.\nIt will only transform codeblocks of `hbs` type and leave the rest intact.\n\n## Install\n\nInstall `remark-cli` and this plugin globally and use it:\n\n```\nnpm install -g remark-cli remark-ember-abc\n```\n\n## Usage\n```\nremark README.md --use ember-abc \n```\nThis will print the changed content in the console.\n\nIf you want to overwrite then use the output option `-o`\n\n```\nremark README.md --use ember-abc  -o\n```\n\nTo apply the transform to all Markdown files in the folder tree (even in nested sub-directories):\n\n```\nremark . --use ember-abc  -o\n```\n\n## Example\nThis will be converted to:\n```\nOne sentence. Two sentences.\n\nOne sentence.  Two sentences.\n\n\\```hbs\n{{#ally-landmark tagName=\"header\"}}\n  This is my header content\n{{/ally-landmark}}\n\\```\n\n\\```html\n\u003ch1\u003eHello world\u003c/h1\u003e\n\\```\n\n\\```js\nconst hello = \"world\";\n\\```\n```\n\nto this:\n\n```\nOne sentence. Two sentences.\n\nOne sentence.  Two sentences.\n\n\\```hbs\n\u003cAllyLandmark @tagName=\"header\"\u003e\n  This is my header content\n\u003c/AllyLandmark\u003e\n\\```\n\n\\```html\n\u003ch1\u003eHello world\u003c/h1\u003e\n\\```\n\n\\```js\nconst hello = \"world\";\n\\```\n```\n\nFor more options using the `remark-cli` visit the official [guides](https://github.com/remarkjs/remark/tree/master/packages/remark-cli)\n\n## Info\nThe transformation is based on the [ember-angle-brackets-codemod](https://github.com/ember-codemods/ember-angle-brackets-codemod)\nand tweaked specifically for this plugin. You can take a look at the `src` folder `transform.js`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajasegar%2Fremark-ember-abc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajasegar%2Fremark-ember-abc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajasegar%2Fremark-ember-abc/lists"}