finds.dev← search

// the find

commonsguy/cwac-anddown

★ 248 · C · Apache-2.0 · updated May 2019

CWAC AndDown: Markdown Utility Library

AndDown is a thin Android JNI wrapper around hoedown, a C Markdown parser, giving you fast Markdown-to-HTML conversion on Android. It targets developers who need a native-speed parser and are willing to deal with NDK complexity. The library itself is basically one Java class and a handful of C files.

The performance case is real — 1ms for 5K of Markdown is genuinely fast, and on low-end Android hardware that gap matters. Using CMake-based builds (as of v0.4.0) means it integrates with modern Android Studio toolchains without fighting you. The AAR ships prebuilt .so files for all architectures, so you can consume it without touching the NDK yourself. The README honestly points you at better alternatives (Markwon, commonmark-java) when this library isn't the right tool — that's rare and worth noting.

Dead. Last commit was 2019, hoedown itself has been dormant even longer, and Android has moved well past API 8. The Maven repo (`s3.amazonaws.com/repo.commonsware.com`) may or may not still be alive, and the AAR artifact at v0.4.0 has no meaningful update path. The hoedown extensions and flags are undocumented by the upstream project and only partially exposed here — you're flying blind if you need anything beyond basic Markdown. And the `Html.fromHtml()` em/strong inversion bug the README mentions is a known Android quirk that this library can't fix, meaning the output will quietly display wrong if you're rendering to a TextView.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →