{"id":16513648,"url":"https://github.com/sergioramos/remark-hint","last_synced_at":"2025-09-08T09:31:35.480Z","repository":{"id":36980257,"uuid":"292544854","full_name":"sergioramos/remark-hint","owner":"sergioramos","description":"Sprinkle hints/tips/warnings on your documents","archived":false,"fork":false,"pushed_at":"2023-01-10T03:00:51.000Z","size":2345,"stargazers_count":43,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T10:26:44.221Z","etag":null,"topics":["html","markdown","mdx","remark","remark-plugin","remarkjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergioramos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-03T11:03:25.000Z","updated_at":"2024-09-30T21:09:31.000Z","dependencies_parsed_at":"2023-01-17T11:30:18.502Z","dependency_job_id":null,"html_url":"https://github.com/sergioramos/remark-hint","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioramos%2Fremark-hint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioramos%2Fremark-hint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioramos%2Fremark-hint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioramos%2Fremark-hint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergioramos","download_url":"https://codeload.github.com/sergioramos/remark-hint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232296899,"owners_count":18501331,"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":["html","markdown","mdx","remark","remark-plugin","remarkjs"],"created_at":"2024-10-11T16:09:41.618Z","updated_at":"2025-01-03T05:45:57.902Z","avatar_url":"https://github.com/sergioramos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remark-hint\n\nSprinkle hints/tips/warnings on your documents.\n\n## installation\n\n```bash\nyarn add remark-hint\n```\n\n## usage\n\nSay we have the following markdown:\n\n```markdown\n!\u003e Here is a tip.\n\n?\u003e And a warning.\n\nx\u003e Or an error.\n```\n\nAnd our script looks as follows:\n\n```javascript\nconst remark = require('remark');\n\nremark()\n  .use(require('remark-hint'))\n  .use(require('remark-html'))\n  .process(src, (err, file) =\u003e console.log(String(file)));\n```\n\nNow, running it yields:\n\n```html\n\u003cp class=\"hint tip\"\u003eHere is a tip.\u003c/p\u003e\n\u003cp class=\"hint warn\"\u003eAnd a waring.\u003c/p\u003e\n\u003cp class=\"hint error\"\u003eOr an error.\u003c/p\u003e\n```\n\n\u003e Take a look at [a sample](test/outputs) of how it looks like.\n\n## license\n\nBSD-3-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioramos%2Fremark-hint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergioramos%2Fremark-hint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioramos%2Fremark-hint/lists"}