elviswolcott / remark-admonitions

Add admonitions support to Remarkable
MIT License
110 stars 19 forks source link

Provide a way to hide (or at least not look strange) in standard markdown #43

Open rootwork opened 3 years ago

rootwork commented 3 years ago

Here's my use case: I have documentation that lives both on a Docusaurus site and in a navigable GitHub repo. The admonitions look great on the Doc site of course, but in GitHub, I just get the standard rendered Markdown, which is:

:::info Foo

Bar

:::

Which isn't that pretty, and if the title is long-ish can actually be hard to visually parse.

## <!--:::info--> Foo

Bar

<!--:::-->

could render like this in standard Markdown contexts:

Foo

Bar