docsifyjs / docsifyjs/docsify

Allow plugins to handle raw embedded markdown content

未关闭
#2,373 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
31.5k
派生
5.8k
平均合并
9 天 8 小时
30 天内合并 PR
2

描述

## Feature request

See title.

Related:

- #1499
- #2000

#### Problem or desire

Plugins are unable to process [embedded](https://docsify.js.org/#/embed-files?id=embed-files) 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](https://jhildenbiddle.github.io/docsify-tabs/) from working with embedded content.

#### Proposal

See title.

#### Implementation

TBD

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。