--- author: email: mail@petermolnar.net image: https://petermolnar.net/favicon.jpg name: Peter Molnar url: https://petermolnar.net copies: - http://web.archive.org/web/20190624130451/https://petermolnar.net/wordpress-insert-image-as-markdown-extra/ lang: en published: '2014-07-17T16:46:19+00:00' summary: WordPress + Markdown are not there yet, hacks needed. tags: - WordPress title: WordPress - insert image as Markdown Extra --- I'm getting a bit angry on the Markdown plugins of WordPress[^1]: all of them will store the text as HTML, while the original goal for me would be to **store** in Markdown, for future readability. With Parsedown[^2] - a persistent WordPress Object cache[^3] parsing on the fly is really not an issue. So as always, I need to come up with a solution - *a hack if that sounds better* - to store posts in Markdown Extra[^4]. The nasty part is the editor, especially with media, so I decided chop it into pieces. This is for images only, since video or audio is not supported by any of the Markdown flavours I know. ``` {.php} [^2]: [^3]: [^4]: