docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.47k stars 5.67k forks source link

Allow plugins to handle raw embedded markdown content #2373

Open jhildenbiddle opened 7 months ago

jhildenbiddle commented 7 months ago

Feature request

See title.

Related:

Problem or desire

Plugins are unable to process embedded markdown content because docsify does not make this content available via a plugin's beforeEach hook. Instead, docsify retrieves the embedded markdown content, transforms it to HTML, and makes it available for the first time to a plugin via the afterEach hook. This prevents plugins like docsify-tabs from working with embedded content.

Proposal

See title.

Implementation

TBD