Support <aside>
in markdown (.md) files the same way as github flavored md
#2828
Replies: 1 comment 1 reply
-
Asides are supported in Markdown files in Starlight without to switch to Aside blocks can be indicated using a pair of triple colons For example, the following Markdown content in a :::note
Starlight is a documentation website toolkit built with [Astro](https://astro.build/). You can get started with this command:
```sh
npm create astro@latest -- --template starlight
```
::: Will be rendered as: You can find more information about asides in Markdown files in this documentation: https://starlight.astro.build/guides/authoring-content/#asides This is not exactly the same syntax as GitHub Markdown Alerts but definitely avoid the need of switching to MDX. |
Beta Was this translation helpful? Give feedback.
-
What version of
starlight
are you using?0.31.0
What is your idea?
It would be nice if
Note
Highlights information that users should take into account, even when skimming.
were supported in markdown and styled the same way as starlight aside components
Why is this feature necessary?
Currently you have to drop down to '.mdx' format, which is not as friendly for things like CMSs (ala https://pagescms.org/ )
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions