# How to set the default markup language to HTML (instead of markdown) for new notes?

**URL:** <https://discourse.joplinapp.org/t/how-to-set-the-default-markup-language-to-html-instead-of-markdown-for-new-notes/27171>\
**Category:** Support\
**Created:** [2 September 2022 15:01 UTC](https://discourse.joplinapp.org/t/how-to-set-the-default-markup-language-to-html-instead-of-markdown-for-new-notes/27171 "2022-09-02T15:01:03Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [5 September 2022 16:07 UTC](https://discourse.joplinapp.org/t/how-to-set-the-default-markup-language-to-html-instead-of-markdown-for-new-notes/27171/17 "2022-09-05T16:07:33Z")

</div>

Just out of curiosity if nothing else I've created a plugin with a command that should swap the note type.

The command to run is `toggleMarkupLanguageType` and once the plugin is installed you can do it from the command palette.

I haven't published this yet as I'd like to know if this actually breaks anything before I unleash it on the world so currently the way to install it would be to download the jpl from my github repo [Release v0.1.0 · Daeraxa/joplin-plugin-toggle-markup · GitHub](https://github.com/Daeraxa/joplin-plugin-toggle-markup/releases/tag/v0.1.0) and install it manually in Joplin, preferably in the dev environment as I accept no responsibility for breaking anything.  
If you decide to install on your main environment then please make sure you back everything up first.

Code wise it doesn't really do anything scary (in theory). It just grabs the selected note's ID, checks its `markup_language` type then sets it to whatever it currently isn't.

---

_[View the full topic](https://discourse.joplinapp.org/t/how-to-set-the-default-markup-language-to-html-instead-of-markdown-for-new-notes/27171)._
