docsifyjs / docsifyjs/docsify

Allow plugins to handle raw embedded markdown content

Open
#2,373 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
31.5k
Forks
5.8k
Avg merge
9d 8h
Merged PRs (30d)
2

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.