rich-text

Render Markdown content and edit rich text in React Native apps.

2|Updated Oct 18, 2024
One-click install
npx skills add https://github.com/carlos3g/react-native-playground --skill rich-text-carlos3g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rich-text
Source: https://github.com/carlos3g/react-native-playground/tree/main/.agents/skills/react-native-best-practices/references/rich-text
Command: npx skills add https://github.com/carlos3g/react-native-playground --skill rich-text-carlos3g

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-native-enriched, react-native-enriched-markdown, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of building rich text editors and Markdown renderers in React Native, offering a streamlined solution for formatting, styling, and rendering text content.

Core Features & Use Cases

  • Rich Text Editing: Supports bold, italic, links, images, and mentions for interactive text editing.
  • Markdown Rendering: Converts Markdown content into native text, including tables, task lists, and LaTeX math.
  • Use Case: If you're developing a chat app, documentation platform, or any text-heavy React Native application, this Skill can help you implement rich text editing and Markdown rendering features with ease.

Quick Start

Use the rich-text skill to render the Markdown content from the file 'user-guide.md'.

Frequently Asked Questions about rich-text

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render Markdown content in a React Native application?

You render Markdown content in React Native by utilizing libraries like react-native-enriched-markdown to convert syntax into native text components. This Skill supports formatting, tables, task lists, and LaTeX math across iOS and Android.

What is the best way to build a rich text editor in React Native?

Building a rich text editor in React Native is streamlined by using this Skill, which supports interactive text editing features like bold, italic, links, images, and mentions. It handles text formatting and styling natively without complex manual implementation.

Do I need React Native New Architecture to display rich text?

Yes, displaying rich text with this Skill requires React Native New Architecture (Fabric). This prerequisite ensures the underlying react-native-enriched libraries can properly handle native text rendering and styling on both iOS and Android platforms.

Does this Markdown renderer support LaTeX math and tables?

Yes, the Markdown renderer supports LaTeX math and tables. It converts complex Markdown content into native text components, allowing you to display structured data, task lists, and mathematical formulas within your text-heavy React Native application.

Can I use this rich text Skill for a chat app or documentation platform?

Yes, you can use this rich text Skill for chat apps, documentation platforms, or any text-heavy React Native application. It provides both interactive rich text editing and Markdown rendering capabilities to handle complex user-generated content.