What is the `:::tip` syntax in markdown called and how do I use it?
I saw it in the astro docs, but it's not part of the default markdown spec. I tried to search for it, but it's hard to search for special characters.
2 Replies
GitHub
docs/astro-asides.ts at main · withastro/docs
Astro documentation. Contribute to withastro/docs development by creating an account on GitHub.
found by searching "tip" in the repo
remark plugin that converts blocks delimited with
:::
into instances of the <Aside>
component. Depends on the remark-directive
module for the core parsing logic.
For example, this Markdown
will produce this output