Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- 🗣️ Accessibility support (VoiceOver on iOS, TalkBack on Android, semantic HTML on web)
- 🔄 Full RTL (right-to-left) support including text, lists, blockquotes, tables, and task lists

### EnrichedMarkdownInput
### EnrichedMarkdownTextInput

- ✏️ Rich text input with Markdown output
- 🕹️ Imperative API for toggling styles and managing links
Expand Down Expand Up @@ -51,14 +51,14 @@ We can help you build your next dream product –
- [LaTeX Math](docs/LATEX_MATH.md)
- [Image Caching](docs/IMAGE_CACHING.md)
- [Markdown Streaming](docs/MARKDOWN_STREAMING.md)
- [EnrichedMarkdownInput](#enrichedmarkdowninput-1)
- [EnrichedMarkdownTextInput](#enrichedmarkdowntextinput-1)
- [Usage](docs/INPUT.md#usage)
- [Inline Styles](docs/INPUT.md#inline-styles)
- [Links](docs/INPUT.md#links)
- [Auto-Link Detection](docs/INPUT.md#auto-link-detection)
- [Style Detection](docs/INPUT.md#style-detection)
- [Other Events](docs/INPUT.md#other-events)
- [Customizing Styles](docs/INPUT.md#customizing-enrichedmarkdowninput--styles)
- [Customizing Styles](docs/INPUT.md#customizing-enrichedmarkdowntextinput--styles)
- [API Reference](#api-reference)
- [Web Support](docs/WEB.md)
- [macOS Support](docs/MACOS.md)
Expand All @@ -78,7 +78,7 @@ We can help you build your next dream product –

- Requires [`react-native-web`](https://necolas.github.io/react-native-web/) and Metro (or another bundler with `.web.tsx` platform resolution)
- No New Architecture requirement — the web renderer runs entirely in JavaScript via WebAssembly
- Only `EnrichedMarkdownText` is supported on web (`EnrichedMarkdownInput` is native-only)
- Only `EnrichedMarkdownText` is supported on web (`EnrichedMarkdownTextInput` is native-only)
- LaTeX math requires the optional [`katex`](https://katex.org/) peer dependency

## Installation
Expand Down Expand Up @@ -157,9 +157,9 @@ npx expo prebuild

See [EnrichedMarkdownText](docs/TEXT.md) for detailed documentation on usage examples, GFM tables, task lists, link handling, supported elements, copy options, accessibility, RTL support, and customizing styles.

## EnrichedMarkdownInput
## EnrichedMarkdownTextInput

See [EnrichedMarkdownInput](docs/INPUT.md) for detailed documentation on usage examples, inline styles, links, style detection, events, and customizing styles.
See [EnrichedMarkdownTextInput](docs/INPUT.md) for detailed documentation on usage examples, inline styles, links, style detection, events, and customizing styles.

## API Reference

Expand All @@ -177,8 +177,8 @@ See [Web Support](docs/WEB.md) for details on supported features, web-specific p

We're actively working on expanding the capabilities of `react-native-enriched-markdown`. Here's what's on the roadmap:

- `EnrichedMarkdownInput`: headings, lists, blockquotes, code blocks, mentions, inline images
- `EnrichedMarkdownInput` web support
- `EnrichedMarkdownTextInput`: headings, lists, blockquotes, code blocks, mentions, inline images
- `EnrichedMarkdownTextInput` web support
- macOS: block math rendering, VoiceOver accessibility, tail fade-in animation
- Web: spoiler text, streaming animation, configurable link `target`, copy options (Copy as Markdown, multi-format clipboard)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
import com.swmansion.enriched.markdown.input.EnrichedMarkdownInputManager
import com.swmansion.enriched.markdown.input.EnrichedMarkdownTextInputManager
import java.util.ArrayList

class EnrichedMarkdownTextPackage : ReactPackage {
override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
val viewManagers: MutableList<ViewManager<*, *>> = ArrayList()
viewManagers.add(EnrichedMarkdownTextManager())
viewManagers.add(EnrichedMarkdownManager())
viewManagers.add(EnrichedMarkdownInputManager())
viewManagers.add(EnrichedMarkdownTextInputManager())
return viewManagers
}

Expand Down
Loading
Loading