# פרסם תוכן פוסט מלא: המרת HTML ל-Markdown ב-Discourse

**URL:** <https://meta.discourse.org/t/publish-full-post-content-convert-html-to-markdown-in-discourse/208182>\
**Category:** WordPress\
**Created:** [3 בנובמבר,‏ 2021,‏ 11:09pm UTC](https://meta.discourse.org/t/publish-full-post-content-convert-html-to-markdown-in-discourse/208182 "2021-11-03T23:09:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nick\_Chomey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nick_chomey/32/215378_2.png) [@Nick\_Chomey](https://meta.discourse.org/u/Nick_Chomey)\
**Post date:** [3 בנובמבר,‏ 2021,‏ 11:09pm UTC](https://meta.discourse.org/t/publish-full-post-content-convert-html-to-markdown-in-discourse/208182/1 "2021-11-03T23:09:29Z")

</div>

I have a knowledge base post type in WordPress and would like to migrate all of these posts to Discourse, to be used with Discourse Docs + forum capabilities.

It seems to me that the easiest way to do this is automatically create Topics in Discourse with [WP Discourse](https://github.com/discourse/wp-discourse). However, when I do this, the topic content is all in HTML, which makes it far harder to edit going forward.

Is it possible to have the plugin convert all of the HTML to Markdown? Or is there a better way to do this?

A related question - any images in the WP post create a link to the file on the wordpress site. If I delete the post and media library files, the links break. Is it possible to fully import the images, as if they had been inserted into Discourse directly?

~~Finally, is there an automated mechanism for syncing/publishing posts that already exist? I’d rather not have to open each manually.~~

(I see that if Force Publish is on, I can simply bulk select them all, bulk edit, and update post status to Publish. This changes nothing, but triggers the sync)

---

_[View the full topic](https://meta.discourse.org/t/publish-full-post-content-convert-html-to-markdown-in-discourse/208182)._
