描述
Harrix MarkdownFile is a plugin to display Markdown files with syntax highlighting in WordPress.
Demo
http://blog.harrix.org/?p=1336
The plugin uses the libraries:
- parsedown: http://parsedown.org/
- highlightjs.org: https://highlightjs.org/
Usage
[markdown-file][/markdown-file]
This shortcode embeds markdown file by url.
[markdown-file]https://raw.github.com/Harrix/HarrixQtLibrary/master/README.md[/markdown-file]
螢幕截圖
安裝
- Upload the
harrix-markdownfile
folder to the/wp-content/plugins/
directory - Activate the Harrix MarkdownFile plugin through the ‘Plugins’ menu in WordPress
常見問題
The code in the added file does not look like in the example
The plug only highlights code in the added file. Appearance code (text size, font, spacing, etc.) is determined by the design of your WordPress site.
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.2
- Using the new Markdown parser.
- Changing the default shortcode to [markdown-file].
1.1
- Corrections on the remarks the team WordPress.
1.0
- First Version.