mdBook icon indicating copy to clipboard operation
mdBook copied to clipboard

Support Markdown admonitions

Open 2372281891 opened this issue 4 years ago • 3 comments

That isn't Markdown, it's an extension. That said, said extension would be useful for the reference. I wouldn't include it in base mdbook, so how do we extend mdbook for support like this, if at all?

Okay, just read the readme, and I think I'll try my hand at doing this.

Havvy avatar Dec 27 '20 06:12 Havvy

I'm guessing the original was linking to https://docusaurus.io/docs/markdown-features/admonitions, though it is not clear. Features like this are best implemented as a preprocessor.

ehuss avatar Jul 27 '21 01:07 ehuss

It seems this can be done with a plugin just fine: https://crates.io/crates/mdbook-admonish

tv42 avatar Oct 03 '22 16:10 tv42