# Announcing Markdown Twain: A new, Open Source Markdown editor

DevFeed: [Announcing Markdown Twain: A new, Open Source Markdown editor](<https://devfeed.tech/articles/announcing-markdown-twain-a-new-open-source-markdown-editor-23966.md>)

Original publisher: [Read original article](<https://medium.com/making-meetup/announcing-markdown-twain-a-new-open-source-markdown-editor-c9b195556b57?source=rss----6981e268ba45---4>)

Author: Colin Lee

Published: 2023-04-26T18:52:58Z

Content type: release

Language: en

Sources: [Making Meetup - Medium](<https://devfeed.tech/sources/making-meetup-medium.md>)

Topics: [Markdown](<https://devfeed.tech/topics/markdown.md>), [Android](<https://devfeed.tech/topics/android.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Library](<https://devfeed.tech/topics/library.md>), [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [compose](<https://devfeed.tech/tags/compose.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [library](<https://devfeed.tech/tags/library.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [syntax-highlighting](<https://devfeed.tech/tags/syntax-highlighting.md>)

## AI overview

Meetup announces Markdown Twain, an open-source Android library built with Jetpack Compose that provides Markdown editing and viewing components. It supports syntax highlighting, real-time previews, customizable styling, and Apache 2.0 licensing.

## Source excerpt

We at Meetup are excited to announce the release of Markdown Twain, an open-source library for Android that provides an easy-to-use syntax highlighting editor and viewer for Markdown text using Jetpack Compose for Android. Our new Meetup for Organizers app was entirely written in Jetpack Compose and Kotlin Multiplatform Mobile. While building the new app, we needed a Markdown editor to allow Meetup organizers to edit rich text descriptions for the events they manage. We discovered that no Markdown Editor already existed for Jetpack Compose. So we wrote our own. Editing an event description in Meetup for Organizers on Android With Markdown Twain, developers can easily add a Markdown editor and viewer to their Android applications, allowing people using their apps to easily format and style their text with Markdown syntax. Markdown Twain offers a number of features, including syntax highlighting for Markdown text, real-time preview of formatted text, easy-to-use editor and viewer components, and customizable styling options, and it is based on the popular Markwon library for Android Views. Check out a demo video to see Markdown Twain in action: https://medium.com/media/6c6361c4e125795538792e9238068ac1/href To use Markdown Twain in your Android project, simply follow these steps: Add the following dependency to your app's build.gradle.kts or build.gradle file: dependencies { implementation("com.meetup:twain:0.2.2") // or the latest version } Use the MarkdownEditor() or MarkdownText() Composables in your Jetpack Compose layouts. There are extra attributes available for customizing the display. val textFieldValue = rememberSaveable(stateSaver = TextFieldValue.Saver) { mutableStateOf("") } Card { MarkdownEditor( value = textFieldValue.value, onValueChange = { value -> textFieldValue.value = value.copy(text = value.text) }, modifier = Modifier.fillMaxWidth() ) }MarkdownText( markdown = textFieldValue.value.text, modifier = Modifier.fillMaxWidth() ) Markdown Twain is licens