docsifyjs / docsifyjs/docsify

Better executable code syntax in MD

Open
#1,166 8 comments 2 reactions 1 assignee Claimed by @anikethsaha View on GitHub
pr welcome ready to implement
Dominant language
JavaScript
Stars
31.5k
Forks
5.8k
Avg merge
9d 8h
Merged PRs (30d)
2

Description

![status](https://img.shields.io/badge/Status-Ready%20to%20Implement-brightgreen) ![PR](https://img.shields.io/badge/PR-Welcome-green)

**Problem**

This is with reference to `executeScript` property. Currently, docsify checking an executable script tag using [this](https://github.com/docsifyjs/docsify/blob/develop/src/core/render/index.js#L15-L17)
The markdown input for these doesn't look good [ref](https://github.com/docsifyjs/docsify/blob/develop/docs/themes.md#click-to-preview)

**solution**

if we are moving with pluggable markdown parser then create a plugin ( or use if exists ) to add custom syntax to uniquely identify some pre-coded syntax which can be replaced in the renderer.

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.