Write this into the editor:
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!
- Upload the
markdown-shortcodedirectory to the
- Activate the plugin through the plugins menu in WordPress.
- Use it by wrapping text in the shortcode
- Will it work in the Visual Editor?
Yes. You can switch between Visual and Text(HTML) mode. The plugin converts html entities back to the original characters.
- The WYSIWYG editor (TinyMCE) is removing empty spaces!
Indeed, TinyMCE is well-known for destroying markup. Replace empty spaces with underscores __ .
Underscores will be converted to empty spaces right before markdown conversion.
기여자 & 개발자
“Markdown Shortcode”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.기여자
- see https://github.com/JohannesHoppe/markdown-shortcode/releases for a list of all releases