# Handling markdown vs html image syntax; seeking workflow advice

**URL:** <https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759>\
**Category:** WordPress\
**Created:** [February 16, 2018, 4:54pm UTC](https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759 "2018-02-16T16:54:50Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

[filip](/t/-/80759/1) is seeking workflow advice after Discourse updated image uploads from HTML to Markdown syntax, breaking their existing workflow. Their previous workflow involved writing and editing locally, copying and pasting images into a Discourse draft post (which generated HTML `img` tags), converting relative URLs to absolute, and then pushing the post to WordPress using the WP-Discourse plugin. With the update, Discourse now generates Markdown image tags (`![image|680x500](upload://name.jpg)`), and [filip](/t/-/80759/1) is looking for a way to easily convert these to absolute path URLs.

<div class="post-metadata">

**Author:** ![filip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/filip/32/70415_2.png) [@filip](https://meta.discourse.org/u/filip)\
**Post date:** [February 16, 2018, 4:54pm UTC](https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759/1 "2018-02-16T16:54:50Z")

</div>

Hi!

My workflow got broken when Discourse updated image uploads from html to markdown syntax. I wonder what others are doing out there.

1, This is what my workflow used to be when typing up a blog post:

- Write the skeleton locally in a text editor or [draftin.com](http://draftin.com)
- Copy paste into a draft post in Discourse
- Copy Paste in all images (which generated HTML img tags)
- Back to a text editor. Search and Replace ALL to go from relative URL to absolute (so it can be seen outside of Discourse)
- Push the post to Wordpress (draftin does that very nicely)
- Publish from Wordpress to Discourse using WP-Discourse plugin.

_It’s a bit convoluted 😕 , but it allowed me to use copy paste workflow for image uploads and create the master images in discourse right away 👍 ._

2, Now, this doesn’t work.

- Discourse generates markdown imag tag `![image|680x500](upload://name.jpg)` instead of the old html.

3, **??**

- Is there an easy way to convert these into Absolute Path URLs so I can pass it onto Wordpress? Less clicks the better.
- Is there a better workflow in general? I bet there is!

Any ideas appreciated!

---

<div class="post-metadata">

**Author:** ![filip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/filip/32/70415_2.png) [@filip](https://meta.discourse.org/u/filip)\
**Post date:** [February 27, 2018, 12:16pm UTC](https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759/2 "2018-02-27T12:16:48Z")

</div>

Too broad a question it seems. Closing this one, metaphorically, and I’ll re-post a much more specific and actionable question.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [February 27, 2018, 6:28pm UTC](https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759/3 "2018-02-27T18:28:50Z")

</div>

Closed on February 27, 2018, 6:28pm UTC


