Markdown Android Studio


Android - studio - markdown navigator export to pdf. Android Code Style in Intellij Idea/Android Studio (3).

  1. Apr 20, 2019 Below are the steps to create a markdown file in visual studio code. Step-1: Open visual studio code and goto file new file Step-2: Name the file as or readme.markdown and save the file.
  2. I understand you want to convert a String containing Markdown markup to a formatted CharSequence that you can use in a TextView. The two options I know of are: Bypass: Use a native C library to parse the text. Unfortunately the project seems dead. Commonmark-spannable-android: Pure java, based on the very good commonmark-java library.

An android app that allows me to edit text files for taking notes. These are files that will by synced between devices (phone, tablet, computers) for viewing and editing.

Ideally, I’d like the application to support org-mode ( format, since I tend to keep all of my notes using Emacs (and the fact that there are several markdown flavors makes my life harder — related reading: Anyway, if using org-mode syntax directly is not possible, then markdown (as it is possible to move between markdown and org-mode formats). [Yes, sure, I can edit org-mode syntax with any editor, but I’d like help from the app, such as automatically indenting things the correct way, etc. Editing in a tablet/phone without external keyboard is enough of a pain.]. Clear ram on android phone.

Android studio markdown 预览


  • Store files wherever I want in the phone/tablet; this way, I can syncwith the computer (using syncthing,, in mycase)
  • Allow arbitrarily nested lists
  • Quick editing, in particular:
    • When editing a list, a newline keeps you in that level but you canquickly increase the indent. This means:
      • A newline inserts, by default, the list symbolyou are using: suppose your list is using “-”; a newline willinsert a newline and a “-” at the appropriate level.
      • After insertion of the “-” (or the “+” or whatever) you can quickly(a menu item, adding spaces, whatever) increase or decrease thenesting level.
      • The above matters because you do not want to waste time andmental effort keeping track of how many spaces you have typedto get to the desired indentation level. (Even more importantif you are not using monospace fonts).
  • Allow unnumbered lists, numbered lists, check-box lists.

Nice to have

  • Open source.
  • Code/section folding/unfolding

I could not find anything that met the requirements. So I’ll have tocompromise. But let’s split choices into apps I might consider and thosethat definitely do not fit the bill.

Android Studio Markdown Syntax


(Listed in approximately decreasing order of how likely I am to use them)

  • Epsilon notes (
    • It seems like you can create lists that are arbitrarily nested but…
    • … but after the 2nd level of nesting, typing newline willnot insert that appropriate list symbol (i.e., if you had createdyour list using “-”, it will not insert the “-”)
    • Numbered lists require you to enter the first two with number (i.e.,just one will not do).
    • This is the one I am most likely to keep using as it is by a largemargin the one closest to what I want.
  • neutriNote(
    • Does not indent automatically when entering a newline and does notadd a “-” (or whatever you use for lists) when entering anewline. So somewhat similar problems as Simple Markdown. But:
      • Entering a newline and then typing (or selecting from the menu)the item character (“-”) will indent it to the parentlevel. This does not work with numbered lists, though.
      • You can move items (promote/demote) with the “->” and “<-” inthe menu (look for the “</>“).
    • It might be me, but I find the behavior of numbered lists fragileand finicky.
  • Simple Markdown(
    • Nice, simple, open source with public repo (
    • But fails criteria of:
      • Indenting automatically when entering newline
      • Adding a “-” or whatever automatically when entering newline
      • (At least part of) this seems to be in the roadmap (
    • Otherwise, if you do that manually, seems capable of arbitrarilynested lists
  • Markor (
    • Open source!
    • Really nice app.
    • Interesting there are requests to support org-mode syntax (
    • But lists with more than two levels of nesting are not just a matterof adding spaces (that will result in a text block:
  • iA Writer(
    • I find it amusing to read in the documentation “You can also nestlists several levels deep”: several? how many is several? :-)Anyway, four or five seem to work.
    • Promotion and demotion require manually entering the number ofspaces. So you have to remove the list character (say “-”), then addspaces.
    • Opening/saving files is not to my liking: when selecting “openfrom”, you are actually said to “save”, which tells you content willbe overwritten. And I find no way to rename the file from the app(or, in other words, save the file with another name).
    • Too little stuff is actually displayed at once, even if you choosethe small font size.

Definitely not

  • Orgzly (
    • Editing a file quickly is impossible (for me at least): try creatingan item, then adding a bunch of subitems. You have to go through the“+”, then type, then move around things,etc, etc. This is not just “quickly edit”.
  • JotterPad (
    • Similar issues as Simple Markdown; it offers a menu entry toincrease indentation, none to decrease indentation. And you need toposition the cursor at the beginning of the line for it to affectthat line.
    • I do not see a simple way to open/save to a user-specified directory(the options to export as docx or rtf are of no use to me).
    • Sure, JotterPad’s target use might not be what I want (markdowneditor).
  • MarkNote (
    • Open source with public repository( great!
    • No automatic addition of the item symbol on newline, but a simplepromote/demote menu entry that works fine (though it does not movechild items).
    • But the “notebooks” are not stored directly as text, but ratherexported. So no way to have this simply work on a directory of filesI sync with the computer.
      • There are github requests for this (yes, one is mine): and
      • This is a show stopper.
  • Markdown(
    • It is fine for what it does, but has the same issues as SimpleMarkdown and there is no help for formatting, so you end up havingto count spaces and enter the “-” after a newline.
  • BananaText (
    • Same issues as Markdown above.
  • Markdown Writer(
    • Same issues as Simple Markdown
    • I do not find how to save files in user-specified directory. Thisissue is actually mentioned in a comment in google play(
  • Monospace(
    • You select the text and it offers contextual help. I find thatslightly annoying (type, mark, select dance, instead of “type with theappropriate syntax”). But, moreover, nested lists donot seem available.
  • Writer Plus(
    • Changing indentation requires to fuzz around with spaces and the “-”.
    • It must be me, but sometimes I enter a “-” and we get going with alist, and sometimes we don’t, and I do not understand why. Andcreation of nested lists is not something I can achieve consistently.
    • And the directory of the application is set by the application (we canwork around that, but is an additional hurdle).
  • Google Keep
    • Editing is clunky:
      • only one level of nesting
      • actually entering the nesting requires lots of fumbling around
      • being consistent in the syntax (two spaces, four spaces, whatever)requires you to be consistent, no help from the app.
    • Impossible to use version control (where are the notes stored, tobegin with?)
    • Related to the above, even if you just want a backup, keeping a backupis incredibly hard (you have to go through another service whichactually takes forever to produce the zip file).
      • Nope, saving as google docs is not an alternative: I want plain text
    • And of course, why should my notes go through google servers? I wantto retain control over how they are synced.

Android Markdown App


  • grokNotes (
    • looks promising, but in alpha and no commits in the last 8 months.
  • If you search for Markdown in google play there are several other options. Some have not been updated for a long time (over two years), some require login into a service (what for?), some are expensive (more than 9 euros) without giving a choice of trying them.

NEW (July 2020)

  • I haven’t had a chance to try it “for real”, but GitJournal( is a recent new addition. It can support quickediting, arbitrarily nested lists, and in the future might supportOrg-mode ( For now,it stores notes in directory private to the app, so it is not possibleto sync with syncthing, but this is on the todo list( And it is opensource! (

Other options/miscell

  • Install emacs on Android via termux
  • org-mode <-> markdown conversion:
    • Markdown to org-mode: pandoc -f markdown -t org -o
    • org-mode to markdown: the usual export from org-mode.

Android Markdown Editor

Android studio markdown 预览

Markdown Android Studio 7

Markdown Android Studio 7

Markwon is a markdown library for Android. It parses markdown following commonmark spec with the help of amazing commonmark-java libraryand renders result as Android-native Spannables. No HTML is involvedas an intermediate step. No WebView is required. It's extremely fast,feature-rich and extensible.

It gives ability to display markdown in all TextView widgets (TextView,Button, Switch, CheckBox, etc), Toasts and all other places that acceptSpanned content. Library provides reasonable defaults to display style of a markdown contentbut also gives all the means to tweak the appearance if desired. All markdown featureslisted in commonmark spec are supported (including support for inlined/block HTML code,markdown tables, images and syntax highlight).


Since version 4.2.0Markwon comes with an editor to highlight markdown inputas user types (for example in EditText).

# Supported markdown features

  • Emphasis (*, _)
  • Strong emphasis (**, __)
  • Headers (#{1,6})
  • Links ([]() && [][])
  • Thematic break (---, ***, ___)
  • Quotes & nested quotes (>{1,})
  • Ordered & non-ordered lists & nested ones
  • Inline code
  • Code blocks
  • Strike-through (~~)
  • Tables (with limitations)
  • LaTeX formulas
  • HTML
    • Emphasis (<i>, <em>, <cite>, <dfn>)
    • Strong emphasis (<b>, <strong>)
    • SuperScript (<sup>)
    • SubScript (<sub>)
    • Underline (<u>, ins)
    • Strike-through (<s>, <strike>, <del>)
    • Link (a)
    • Lists (ul, ol)
    • Images (img will require configured image loader)
    • Blockquote (blockquote)
    • Heading (h1, h2, h3, h4, h5, h6)
    • there is support to render any HTML/XML tag, but it will require to create a special TagHandler,more information can be found in HTML section
  • Task lists:
    • Not done
    • Done with X
    • andor small x


# Screenshots

Android Studio Markdown Preview

By default configuration uses TextView textColor for styling, so changing textColor changes style

Nextcloud A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
Habitica Treat your life like a game to stay motivated and organized! Habitica makes it simple to have fun while accomplishing goals.
Pure Writer Never lose content editor & Markdown
Stack An Android app for browsing Stack Overflow and other Stack Exchange sites
  • Partico - Partiko is a censorship free social network.
  • FairNote - simple and intuitive notepad app. It gives you speed and efficiency when you write notes, to-do lists, e-mails, or jot down quick ideas.
  • Boxcryptor - A software that adds AES-256 and RSA encryption to Dropbox, Google Drive, OneDrive and many other clouds.
  • Senstone Portable Voice Assistant - Senstone is a tiny wearable personal assistant powered by this App. It lets you capture your ideas, notes and reminders handsfree without pulling out your phone.


  • MarkwonCodeEx - Markwon extension support elegant code background.

Help to improve this section by submitting your application or librarythat is using Markwon