$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Where does Jetpack store markdown?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Where does Jetpack store markdown?

matteradmin11PV0评论

I use the Jetpack markdown feature.

If I open a previously markdown written post, it will open as a markdown written post. However if I export my site to XML with the official export plugin, it will be exported as HTML.

So my question is does Jetpack store the posts markdown anywhere? Or does it actually convert the post back from HTML to Markdown every time I open a post to edit it?

I use the Jetpack markdown feature.

If I open a previously markdown written post, it will open as a markdown written post. However if I export my site to XML with the official export plugin, it will be exported as HTML.

So my question is does Jetpack store the posts markdown anywhere? Or does it actually convert the post back from HTML to Markdown every time I open a post to edit it?

Share Improve this question asked Mar 10, 2019 at 18:13 AreteArete 3181 gold badge3 silver badges18 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Just found the answer after exploring the MySQL database and finding the right field.

Here is an answer from Ryan Cowles at the Jetpack staff:

The HTML version of your post is stored in post_content and the Markdown version is stored in post_content_filtered. You can see how it’s stored here.

Specifics aside, if you write a post with Markdown enabled and then disable the module (or Jetpack entirely) the post will still display properly.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far