
內容簡介
這個 WordPress 外掛是一個簡單易用的 [markdown] 短碼,使用 parsedown 和 highlight.js 库實現,不需要進行任何配置。
只需要在 WordPress 編輯器中編寫以下格式:
[markdown]
#標題1
標題2
文本
____源代碼(底線x2或以上將被替換為空格)
____源代碼(底線x2或以上將被替換為空格)
`javascript
源代碼
`
[/markdown]
短碼中的內容將通過 parsedown 進行解析,並且源代碼片段會帶有語法高亮效果。
該插件同時在 github 上提供下載。如果您在使用過程中遇到任何問題,請在 GitHub 上進行反饋;如果您有好的建議或改進方案,也歡迎提交 Pull Request!
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Damn simple [markdown]#via shortcode[/markdown] for wordpress.
This plugin uses parsedown and highlight.js. Zero configuration.
Write this into the editor:
[markdown]
#h1
h2
text
____source code (two ore more underscores will be replaced by empty spaces)
____source code (two ore more underscores will be replaced by empty spaces)
`javascript
source code
`
[/markdown]
and the shortcode content will be parsed with parsedown. Syntax highlighting will appear for the source codes.
This plugin is available at github, too.
Please report issues at github, pull requests are welcome, too!
