Title: How does WordPress convert Markdown string to HTML string?
Last modified: June 8, 2020

---

# How does WordPress convert Markdown string to HTML string?

 *  Resolved [uanaoeng](https://wordpress.org/support/users/uanaoeng/)
 * (@uanaoeng)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/how-does-wordpress-convert-markdown-string-to-html-string/)
 * Hi! I want to understand how markdown works in WordPress.
 * When I use the markdown editor to save the article, is the Markdown string or
   converted HTML string saved to the database?
 * If it is markdown, then, when I read the article, how does WordPress parse markdown
   into HTML?
 * Thanks a lot!
    -  This topic was modified 5 years, 11 months ago by [uanaoeng](https://wordpress.org/support/users/uanaoeng/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/how-does-wordpress-convert-markdown-string-to-html-string/#post-12950878)
 * The default WP editor does not accept markdown, you must be using an add-on editor
   through your theme or plugin. For example, the markdown accepted in these forums
   is managed by a modified version of bbPress. Your question would be best answered
   by the devs of the responsible module. There is typically a dedicated support
   channel you can use for that.
 * You can investigate how the article is saved in the DB by checking the data through
   phpMyAdmin (usually accessed through your hosting control panel). If you see 
   HTML there, obviously the conversion is done before writing to the DB. If you
   see markdown still, the conversion is probably done through code added to “the_content”
   filter. This allows themes and plugins to process content before output.
 *  Thread Starter [uanaoeng](https://wordpress.org/support/users/uanaoeng/)
 * (@uanaoeng)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/how-does-wordpress-convert-markdown-string-to-html-string/#post-12951891)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/) Thank you, bcworkz!
 * I found that some editor plugins such as `WP Githuber MD` store HTML string, 
   while some such as `Parsedown Party` store Markdown string.
 * Moreover, it’s the editor plugin, not the theme, that converts markdown string
   to html string.
    -  This reply was modified 5 years, 11 months ago by [uanaoeng](https://wordpress.org/support/users/uanaoeng/).
    -  This reply was modified 5 years, 11 months ago by [uanaoeng](https://wordpress.org/support/users/uanaoeng/).
    -  This reply was modified 5 years, 11 months ago by [uanaoeng](https://wordpress.org/support/users/uanaoeng/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How does WordPress convert Markdown string to HTML string?’ is closed
to new replies.

## Tags

 * [markdown](https://wordpress.org/support/topic-tag/markdown/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [uanaoeng](https://wordpress.org/support/users/uanaoeng/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/how-does-wordpress-convert-markdown-string-to-html-string/#post-12951891)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
