Beschrijving
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!
Schermafdrukken
Installatie
- Upload the
markdown-shortcode
directory to the/wp-content/plugins
directory. - Activate the plugin through the plugins menu in WordPress.
- Use it by wrapping text in the shortcode
FAQ
- 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.
Beoordelingen
Bijdragers & ontwikkelaars
“Markdown Shortcode” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Markdown Shortcode” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
0.1
- see https://github.com/JohannesHoppe/markdown-shortcode/releases for a list of all releases