Is there a lightweight markup language library for Android?

Suppose I want to display / present text passed as some lightweight markup language . Are there any ready-to-use libraries for Android that accept markup language as input and present it beautifully? When I speak easy markup language, I mean Markdown ( http://en.wikipedia.org/wiki/Markdown ) or something like that.

+6
java android markdown bbcode creole
source share
3 answers

You can watch:

Markdownj

I have not tried this.

Jmd

This works, but the latest build has problems with some numbers in the text that are interpreted as entities; for example, "39th President" becomes "President 39."

Pegown

This works correctly, but in a rather old version 0.8.0.1, I currently use it really surprisingly intensively for the processor (*) - much more to JMD. It depends on a separate, parsed PEG analyzer (which also has a newer version than what I am currently using). (Corrected based on the comment below)

(*) Excessive CPU utilization appears to occur only in the IBM Classic JVM for AS / 400.


NOTE. I used them only on Java virtual machines, not on Android, but I don’t know why they or they do not need to work on Android.

+2
source share

There's also AndDown , an Android wrapper around C sundown- based parsing :

Using NDK with this C library, parsing speeds are good and fast - 5K input can be converted to HTML in about 1 millisecond. In addition, sunset is a fairly popular Markdown processor and is the brain behind the GitHub-flavored Markdown.

+6
source share

You can also check markdown4j , which is a lightweight java library (and can be used on Android).

0
source share

All Articles