Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

请问各位大哥,页面上可以展示代码,这是什么插件?

image.png
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

根据你的截图来看。你明显是截错了。

因为 textarea 并不支持内容显示两种格式。所以他只是一个数据源

然后看上去也不是 markdown。

那么好了接下来就是盲猜了,我之前做过一个 json 格式化的,用的codemirror。测试地址:https://www.lilnong.top/static/html/json-analysis.html

image.png

正好当时引入的包比较多 js 也有高亮提示

image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...