Skip to content
프로젝트

소개

Markdown 기반 멀티플랫폼 리치 텍스트 솔루션

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • Native text rendering — High-performance Markdown rendering built on platform text APIs (no WebView)
  • Rich text input — Text input with Markdown output, inline formatting, headings, lists, links, and mentions
  • Cross-platform — Consistent API across React Native (TypeScript), iOS (Swift), and Android (Kotlin)
  • CommonMark & GFM — Full CommonMark compliance with GitHub Flavored Markdown extensions (tables, task lists, strikethrough)

측정된 스타 증가

in 24h
+3
in 7 days
+7
in 15 days
+10
in 1 month
+41

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
Enriched Markdown by Software Mansion

A multi-platform SDK for rendering Markdown as native text and editing rich text with Markdown output. Ships as a React Native library with iOS, Android, macOS, and Web support, plus standalone native SDKs for iOS (Swift) and Android (Kotlin).

Features

  • Native text rendering — High-performance Markdown rendering built on platform text APIs (no WebView)
  • Rich text input — Text input with Markdown output, inline formatting, headings, lists, links, and mentions
  • Cross-platform — Consistent API across React Native (TypeScript), iOS (Swift), and Android (Kotlin)
  • CommonMark & GFM — Full CommonMark compliance with GitHub Flavored Markdown extensions (tables, task lists, strikethrough)
  • LaTeX math — Block and inline math rendering powered by RaTeX
  • Markdown streaming — Real-time streaming support for AI/LLM chat interfaces
  • Code syntax highlighting — Native syntax highlighting powered by tree-sitter
  • Accessibility — VoiceOver on iOS, TalkBack on Android, semantic HTML on web

See the feature comparison table for a detailed breakdown of supported features per platform.

Packages

Platform Package README
React Native npm React Native
Android Maven Central Android
iOS swift package iOS

Quick start

React Native

yarn add react-native-enriched-markdown
import { EnrichedMarkdownText } from 'react-native-enriched-markdown';
import { Linking } from 'react-native';

<EnrichedMarkdownText
  markdown={"# Hello\n\nThis is **enriched** [markdown](https://commonmark.org)."}
  onLinkPress={({ url }) => Linking.openURL(url)}
/>

Android

dependencies {
  implementation("com.swmansion.enriched.markdown:compose:0.3.0")
}
import com.swmansion.enriched.markdown.compose.EnrichedMarkdownText

EnrichedMarkdownText(
  markdown = "# Hello\n\nThis is **enriched** [markdown](https://commonmark.org).",
  onLinkClick = { url -> /* open url */ },
)

iOS

dependencies: [
  .package(
    url: "https://github.com/software-mansion-labs/enriched-markdown-ios.git",
    from: "0.1.0"
  ),
]
import EnrichedMarkdown
import SwiftUI

EnrichedMarkdownText("# Hello\n\nThis is **enriched** [markdown](https://commonmark.org).")
  .environment(\.openURL, OpenURLAction { url in
    UIApplication.shared.open(url)
    return .handled
  })

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

Enriched Markdown is licensed under The MIT License.


Built by Software Mansion.

Software Mansion Logo

관련 프로젝트 살펴보기

불러오는 중…