Title: Markdown Shortcode
Author: JHoppe
Published: <strong>10 setembro, 2015</strong>
Last modified: 21 setembro, 2025

---

Pesquisar plugins

![](https://ps.w.org/markdown-shortcode/assets/banner-772x250.png?rev=1242839)

![](https://ps.w.org/markdown-shortcode/assets/icon-256x256.png?rev=1242839)

# Markdown Shortcode

 Por [JHoppe](https://profiles.wordpress.org/jhoppe/)

[Baixar](https://downloads.wordpress.org/plugin/markdown-shortcode.zip)

 * [Detalhes](https://br.wordpress.org/plugins/markdown-shortcode/#description)
 * [Avaliações](https://br.wordpress.org/plugins/markdown-shortcode/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/markdown-shortcode/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/markdown-shortcode/#developers)

 [Suporte](https://wordpress.org/support/plugin/markdown-shortcode/)

## Descrição

Damn simple [markdown]#via shortcode[/markdown] for wordpress.
 This plugin uses
[parsedown](http://parsedown.org/) and [highlight.js](http://highlightjs.org). 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](https://github.com/JohannesHoppe/markdown-shortcode),
too.
 Please **report issues at github**, pull requests are welcome, too!

## Capturas de tela

 * [[
 * Blog post written in markdown.
 * [[
 * Same blog post on front end.

## Instalação

 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

## Perguntas frequentes

### 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.

## Avaliações

![](https://secure.gravatar.com/avatar/8920510ed620e2a612eadf47d3a73e831ded3780cd0ed88d8acec9ac725a7296?
s=60&d=retro&r=g)

### 󠀁[Simple and useful](https://wordpress.org/support/topic/simple-and-useful-172/)󠁿

 [shouldsee](https://profiles.wordpress.org/shouldsee/) 30 junho, 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.

![](https://secure.gravatar.com/avatar/bcdd01d95e1c78b9c6b054fc426a18758d7abe6d5d8029949cba7f2fe173ec93?
s=60&d=retro&r=g)

### 󠀁[best markdown plugin](https://wordpress.org/support/topic/best-markdown-plugin/)󠁿

 [xXZ3R0x](https://profiles.wordpress.org/xxz3r0x/) 3 setembro, 2016

Does what it says and does it cleanly. Had an issue with conflicting plugins dev
fixed it very quickly.

![](https://secure.gravatar.com/avatar/fe1c3dc440e1b618d828aac447440c8d4e3dceda895db34677bff654508ea253?
s=60&d=retro&r=g)

### 󠀁[Just do what it says](https://wordpress.org/support/topic/just-do-what-it-says/)󠁿

 [nyl_auster](https://profiles.wordpress.org/nyl_auster/) 3 setembro, 2016

Work as expected , thank you, simple and efficient. (just write “[markdown] blabla[/
markdown] with your wysiwyg as “text” )

 [ Leia todas as 3 avaliações ](https://wordpress.org/support/plugin/markdown-shortcode/reviews/)

## Colaboradores e desenvolvedores

“Markdown Shortcode” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ JHoppe ](https://profiles.wordpress.org/jhoppe/)

[Traduzir o “Markdown Shortcode” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/markdown-shortcode)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/markdown-shortcode/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/markdown-shortcode/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/markdown-shortcode/)
por [RSS](https://plugins.trac.wordpress.org/log/markdown-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 0.2.3

 * Security fix: Added wp_kses_post() sanitization to prevent XSS vulnerability (
   CVE-2025-10180)
 * Fixed stored XSS vulnerability where contributors could inject malicious scripts
   through markdown content

#### 0.1

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

## Meta

 *  Versão **0.2.3**
 *  Última atualização **7 meses atrás**
 *  Instalações ativas **70+**
 *  Testado até **6.7.5**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/markdown-shortcode/)
 * Tags
 * [highlight.js](https://br.wordpress.org/plugins/tags/highlight-js/)[markdown](https://br.wordpress.org/plugins/tags/markdown/)
   [parsedown](https://br.wordpress.org/plugins/tags/parsedown/)[shortcode](https://br.wordpress.org/plugins/tags/shortcode/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/markdown-shortcode/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  3 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/markdown-shortcode/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/markdown-shortcode/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/markdown-shortcode/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/markdown-shortcode/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/markdown-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/markdown-shortcode/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/markdown-shortcode/reviews/)

## Colaboradores

 *   [ JHoppe ](https://profiles.wordpress.org/jhoppe/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/markdown-shortcode/)