{"id":15714472,"url":"https://github.com/mayashavin/markdown-it-slack","last_synced_at":"2025-05-12T23:49:44.102Z","repository":{"id":57362745,"uuid":"177631175","full_name":"mayashavin/markdown-it-slack","owner":"mayashavin","description":"Plugin for Markdown-it to override default CommonMark standards to Slack standards","archived":false,"fork":false,"pushed_at":"2019-06-05T09:20:42.000Z","size":56,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-12T23:49:34.164Z","etag":null,"topics":[],"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/mayashavin.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}},"created_at":"2019-03-25T17:14:08.000Z","updated_at":"2022-07-31T18:06:52.000Z","dependencies_parsed_at":"2022-09-26T16:31:03.015Z","dependency_job_id":null,"html_url":"https://github.com/mayashavin/markdown-it-slack","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/mayashavin%2Fmarkdown-it-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fmarkdown-it-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fmarkdown-it-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fmarkdown-it-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayashavin","download_url":"https://codeload.github.com/mayashavin/markdown-it-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843167,"owners_count":21972868,"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":"2024-10-03T21:37:20.933Z","updated_at":"2025-05-12T23:49:44.083Z","avatar_url":"https://github.com/mayashavin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-markdown-it\n\n#### 🚀 This plugin overrides default **Github style** to [**Slack style**](https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages) for syntax parser of the following:\n\n1. **Bold** (Using * bold * for strong emphasis instead of ** bold ** or __ bold __)\n\n2. _Italic_ (Using _ italic _ for emphasis instead of * bold *)\n\n3. ~~Strikethrough~~ (Using ~ strikethrough ~ instead of ~~ strikethrough ~~)\n\n\nDemo: [https://codesandbox.io/embed/j2y24r3yq9](https://codesandbox.io/embed/j2y24r3yq9)\n\n## How to install 🛠️\n\n1. It's written as plugin for [Markdown](https://github.com/markdown-it/markdown-it) so it requires `markdown-it` to be installed.\n\n```\nnpm install markdown-it --save\nyarn add markdown-it\n```\n\n\n2. Install using `npm` or `yarn`\n\n```\nnpm install slack-markdown-it --save\nyarn add slack-markdown-it\n```\n\n\n\n\n## How to use 👨‍💻\n\n### Using `import` \n\n```js\nimport Markdown from \"markdown-it\";\nimport MarkdownSlack from 'slack-markdown-it';\n\nconst md = Markdown();\nmd.use(MarkdownSlack);\n\nmd.renderInline(`*This is me in bold*, and he is in _italic_. Don't ~strikethrough~ me!`)\n```\n\n\n### Using `require`\n\n```js\nconst md = require('markdown-it')();\nmd.use(require('slack-markdown-it'));\n\nmd.renderInline(`*This is me in bold*, and he is in _italic_. Don't ~strikethrough~ me!`)\n\n```\n\n\n\n\n## Coming soon 🏹 👩‍🔬\n\n* Customize which syntax to override.\n\n* Optimization for tag rendering.\n\n* Test coverage.\n\n\n## License\n\n[MIT](https://github.com/mayashavin/markdown-it-slack/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayashavin%2Fmarkdown-it-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayashavin%2Fmarkdown-it-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayashavin%2Fmarkdown-it-slack/lists"}