Home

Awesome

What is it?

MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.

Demo app Screenshot

This is a Screenshot from the demo app where it shows a markDown text in the upper half of the screen and when you hit update it will reload the text to MarkdownView (lower half of the screen).

MarkdownView screenshot

##How to use it?

MarkdownView markdownView = new MarkdownView(this); setContentView(markdownView);

MarkdownView markdownView = (MarkdownView) findViewById(R.id.markdownView);

##Loading MarkDown text or file (local and online):

To load a locale file, you have to add it to your assets folder and pass a url that start with "file:///android_asset/" : markdownView.loadMarkDownData("file:///android_asset/myFile.md");

To load a file on the web you need to pass the full url :
markdownView.loadMarkDownData("http://www.my-site.com/myFile.md");

License

Licensed under the Apache License, Version 2.0. (The same as the Android project.)