Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Markdown Shortcode

Descrizione

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!

Screenshot

  • Blog post written in markdown.
  • Same blog post on front end.

Installazione

  1. Upload the markdown-shortcode directory to the /wp-content/plugins directory.
  2. Activate the plugin through the plugins menu in WordPress.
  3. 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.

Recensioni

30 Giugno 2017
It parses pasted text perfectly. Remember to edit the post in "plain text" and not in "visual" mode!! Best of best! Thanks so much for creating it.
3 Settembre 2016
Does what it says and does it cleanly. Had an issue with conflicting plugins dev fixed it very quickly.
3 Settembre 2016
Work as expected , thank you, simple and efficient. (just write "[markdown] blabla [/markdown] with your wysiwyg as "text" )
Leggi tutte le recensioni di 3

Contributi e sviluppo

“Markdown Shortcode” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Markdown Shortcode” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

0.1

  • see https://github.com/JohannesHoppe/markdown-shortcode/releases for a list of all releases