{"repo":"ebullient/markdown-it-obsidian-callouts","free":true,"listed":false,"github":"https://github.com/ebullient/markdown-it-obsidian-callouts","clone":"git clone https://github.com/ebullient/markdown-it-obsidian-callouts.git","description":"markdown-it plugin for GitHub and Obsidian callouts.","language":"TypeScript","stars":32,"topics":["markdown-it","markdown-it-plugin","obsidian","obsidian-md"],"license":"Apache-2.0","category":"productivity","readme_excerpt":"markdown-it-obsidian-callouts Plugin for markdown-it to support GitHub and Obsidian callouts, as well as codeblock admonitions supported by the Admonition plugin. It uses Obsidian default icons and callout flavors out of the gate. Usage Callouts and Admonitions The following four variations will produce the same html. Callout: A callout with nested code-block admonition: Code-block admonition with nested callout: Code-block admonition with nested code-block admonition: The above nested admonition will generate the following html (it will sadly be less tidy): This emulates Obsidian callout behavior. The element structure amd CSS classes are the same, some mechanics are different. Icons Default icons are as used by obsidian, and come from lucide.dev Version 0.268.0 ISC License Copyright (c) 2020, Lucide Contributors Add css If you use it in other environments like vuepress/vitepress, you may need to add your own css, as this plugin only generates dom structures. You can use the index.css, The css content is exactly the same as the style of the callout in obsidian (I screened, copied, pasted and modified it from ob). And I adapted the shading mode for vuepress and vitepress. [!note] Why not set the default style to make it easier to use? If you want to default the style in markdown-it, you can only set it on the dom style through property Settings, which can make custom changes difficult Similar plugins - https://github.com/alexjv89/markdown-it-obsidian - add suport for obsidian","default_branch":null,"files":null,"tree":[],"storefront":"/r/ebullient","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ebullient/markdown-it-obsidian-callouts/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."}