# Convert to Markdown on iOS

**URL:** <https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226>\
**Category:** Tips\
**Created:** [July 20, 2018, 5:56pm UTC](https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226 "2018-07-20T17:56:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCSully217](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/jcsully217/32/7182_2.png) [@JCSully217](https://discourse.devontechnologies.com/u/JCSully217)\
**Post date:** [July 20, 2018, 5:56pm UTC](https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226/1 "2018-07-20T17:56:13Z")

</div>

Does anyone have a way to convert an already existing Plain Text document with Markdown markup to Markdown on iOS?

The file is already in a database and I would like to convert it to Markdown without having to create a new file with the same title as a markdown document if possible. I am open to purchasing an app to do so.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [July 20, 2018, 9:10pm UTC](https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226/2 "2018-07-20T21:10:24Z")

</div>

Are you using plain text as Markdown in DEVONthink on the Mac?

---

<div class="post-metadata">

**Author:** ![JCSully217](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/jcsully217/32/7182_2.png) [@JCSully217](https://discourse.devontechnologies.com/u/JCSully217)\
**Post date:** [July 20, 2018, 9:36pm UTC](https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226/3 "2018-07-20T21:36:13Z")

</div>

The plain text is formatted for Markdown from a previous application I used which showed plain text files rendered in markdown. Now as I find them through normal day to day usage on the iPad I want to quickly convert them to Markdown.

I think the best option would be to go on the Mac and create a Smart group with all text files within each DB then have a Keyboard Maestro macro run the convert TXT -\> MD AppleScript I have in DTPO.

For the future though if a plain text file gets created by accident or oversight if anyone has an easy way to convert a Plain text file to Markdown on iOS I would appreciate it.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [July 21, 2018, 1:52am UTC](https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226/4 "2018-07-21T01:52:40Z")

</div>

Why would you need to run a Keyboard Maestro macro just to run an AppleScript in DTPO?

---

<div class="post-metadata">

**Author:** ![JCSully217](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/jcsully217/32/7182_2.png) [@JCSully217](https://discourse.devontechnologies.com/u/JCSully217)\
**Post date:** [July 21, 2018, 2:54pm UTC](https://discourse.devontechnologies.com/t/convert-to-markdown-on-ios/24226/5 "2018-07-21T14:54:49Z")

</div>

I have about 750 text files. The AppleScript I have pulls up a dialog box that gives me the option to rename the file to any extension.

With KM I can have it select the file, run the script, append the .md to the file name then move to the next file.

I’ve been using the script by Korm in this post: [forum.devontechnologies.com/view … =2&t=18930](https://discourse.devontechnologies.com/t/convert-txt-to-md/17264/1)

If you have a script to immediately change the file to Markdown that would be great!
