Java – is there a lightweight markup language library for Android?

Suppose I want to render / render text transmitted in some lightweight markup language Are there any existing Android libraries that take lightweight markup language as input text and render it well? When I speak lightweight markup language, I mean markdown( http://en.wikipedia.org/wiki/Markdown )Or something like that

Solution

You can see:

MarkdownJ

I haven't tried this

JMD

This is valid, but there is a problem with the latest version. Some numbers in the text are interpreted as entities; For example, "the 39th president" becomes "the 39th president"

PegDown

This works well, but I'm using a fairly old 0.8 In version 0.1, it is actually CPU intensive (*) – far more than JMD It depends on a separate precooked peg parser (it also has a newer version than what I'm currently using) (hit by comments below)

(*) excessive CPU load seems to occur only on IBM classic JVM of as / 400

Note: I've only used these on Java VM, not Android, but I know there's no reason why any or all of them don't apply to Android

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>