{"repo":"digitalocean/do-markdownit","free":true,"listed":false,"github":"https://github.com/digitalocean/do-markdownit","clone":"git clone https://github.com/digitalocean/do-markdownit.git","description":"Markdown-It plugin for the DigitalOcean Community.","language":"JavaScript","stars":103,"topics":["digitalocean","hacktoberfest","markdown","markdown-it","markdown-it-plugin","markdown-it-plugins"],"license":"Apache-2.0","category":"productivity","readme_excerpt":"do-markdownit Markdown-It plugin for the DigitalOcean Community. This plugin is what we use across the DigitalOcean Community site to extend the standard functionality of Markdown with additional features, such as automatic code syntax highlighting, video embeds, and more. You can see this plugin in action and try it out on our Markdown sandbox page. Getting Started Install Markdown-It and the plugin: Instantiate Markdown-It and the plugin, and render some Markdown: Plugin Features & Options do-markdownit is composed of a set of individual plugins, with the ability to disable each if needed, and many having specific options that can be set. All plugins are enabled by default, except limit tokens. highlight Add support for highlight markup across all Markdown, including inside code. The syntax for highlighting text is . E.g. hello world . This syntax is treated as regular inline syntax, similar to bold or italics. However, when used within code the opening and closing tags must be on the same line. Example Markdown input: test Example HTML output: test hello world test Options: Pass options for this plugin as the highlight property of the do-markdownit plugin options. Set this property to false to disable this plugin. No options are available for this plugin. user mention Add support for mentioning users, using an @ symbol. Wraps the mention in a link to the user. By default, any characters that are not a space or newline after an @ symbol will be treated as a mention. Example","default_branch":null,"files":null,"tree":[],"storefront":"/r/digitalocean","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/digitalocean/do-markdownit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}