sitdown icon indicating copy to clipboard operation
sitdown copied to clipboard

怎么在生成的MD文件中的代码段添加样式

Open wangmings opened this issue 2 years ago • 1 comments

问题:

怎么在生成的MD文件中的代码段添加样式

演示:

例如:在生成时添加代码样式


在生成的代码段添加: ``` js 包裹起来 、例如下面示例这样
// ``` js
//     console.log(12)
// ```


Feature request

What problem does this feature solve?

What does the proposed API look like?

How should this be implemented in your opinion?

Are you willing to work on this yourself?

wangmings avatar Jul 16 '22 11:07 wangmings

样式是前端渲染的时候加的哦,你可以用 hightlightjs 或者 prism

LinFeng1997 avatar Jul 21 '22 11:07 LinFeng1997