react-native-nitro-markdown
High-performance Markdown parser for React Native using Nitro Modules and md4c
File Explorer
Download Latest Version (.zip)- ci.yml
- npm-publish.yml
- CODEOWNERS
- _layout.tsx
- index.tsx
- render-custom.tsx
- render-default-styles.tsx
- render-default.tsx
- render-stream.tsx
- adaptive-icon.png
- icon.png
- example-ui.tsx
- use-bottom-tab-height.ts
- with-ios-linker-cleanup.js
- .gitignore
- app.config.js
- babel.config.js
- gradle.properties
- markdown-test-data.ts
- metro.config.js
- package.json
- theme.ts
- tsconfig.json
- api-reference.md
- comparison.md
- customization.md
- headless.md
- installation.md
- streaming.md
- troubleshooting.md
- usage.md
- cpp-adapter.cpp
- HybridMarkdownSession.kt
- NitroMarkdownPackage.kt
- AndroidManifest.xml
- build.gradle
- CMakeLists.txt
- consumer-rules.pro
- gradle.properties
- HybridMarkdownParser.cpp
- HybridMarkdownParser.hpp
- flatten.cpp
- flatten.hpp
- MarkdownTypes.hpp
- NitroMD4CParser.cpp
- NitroMD4CParser.hpp
- NitroMD4CParserTest.cpp
- nitromd.c
- nitromd.h
- UPSTREAM.md
- CMakeLists.txt
- HybridMarkdownSession.swift
- NitroMarkdownObjC.modulemap
- NitroMarkdownTryCatch.h
- NitroMarkdownTryCatch.m
- JFunc_void.hpp
- JFunc_void_double_double.hpp
- JHybridMarkdownSessionSpec.cpp
- JHybridMarkdownSessionSpec.hpp
- Func_void.kt
- Func_void_double_double.kt
- HybridMarkdownSessionSpec.kt
- NitroMarkdownOnLoad.kt
- NitroMarkdown+autolinking.cmake
- NitroMarkdown+autolinking.gradle
- NitroMarkdownOnLoad.cpp
- NitroMarkdownOnLoad.hpp
- HybridMarkdownSessionSpecSwift.cpp
- HybridMarkdownSessionSpecSwift.hpp
- Func_void.swift
- Func_void_double_double.swift
- HybridMarkdownSessionSpec.swift
- HybridMarkdownSessionSpec_cxx.swift
- NitroMarkdown+autolinking.rb
- NitroMarkdown-Swift-Cxx-Bridge.cpp
- NitroMarkdown-Swift-Cxx-Bridge.hpp
- NitroMarkdown-Swift-Cxx-Umbrella.hpp
- NitroMarkdownAutolinking.mm
- NitroMarkdownAutolinking.swift
- HybridMarkdownParserSpec.cpp
- HybridMarkdownParserSpec.hpp
- HybridMarkdownSessionSpec.cpp
- HybridMarkdownSessionSpec.hpp
- ParserOptions.hpp
- .gitattributes
- benchmark-js-vs-cpp.js
- test-cpp.js
- conformance-corpus.json
- flatten-corpus.json
- code-highlight.test.ts
- conformance.test.ts
- flatten-corpus.test.ts
- headless.test.ts
- incremental-ast.test.ts
- link-renderer.test.ts
- link-security.test.ts
- markdown-pipeline.test.ts
- markdown-stream.test.ts
- math-renderer.test.ts
- parse-pipeline.test.ts
- renderer-accessibility.test.ts
- session-contract.test.ts
- session.test.ts
- setup.ts
- stream-timeline.test.ts
- table-utils.test.ts
- theme.test.ts
- cell-content.tsx
- index.tsx
- table-measurement.ts
- table-reducer.ts
- table-utils.ts
- types.ts
- blockquote.tsx
- code.tsx
- heading.tsx
- horizontal-rule.tsx
- html.tsx
- image.tsx
- link.tsx
- list.tsx
- math.tsx
- paragraph.tsx
- style-cache.ts
- table.tsx
- MarkdownSession.nitro.ts
- code-highlight.ts
- incremental-ast.ts
- link-security.ts
- parse-pipeline.ts
- session-contract.ts
- stream-timeline.ts
- errors.ts
- headless.ts
- index.ts
- markdown-stream.tsx
- Markdown.nitro.ts
- markdown.tsx
- MarkdownContext.ts
- MarkdownSession.ts
- node-renderer.tsx
- theme.ts
- use-markdown-stream.ts
- .size-limit.js
- .watchmanconfig
- jest.config.js
- nitro.json
- package.json
- react-native-nitro-markdown.podspec
- tsconfig.json
- tsconfig.test.json
- benchmark.png
- render.png
- streaming.png
- tables.png
- themes.png
- benchmark-comparison.js
- benchmark-node.js
- check-codegen.ts
- example-smoke.js
- harness.js
- publish.js
- setup.js
- verify-core-versions.ts
- verify-rn087-types.ts
- public-api.ts
- tsconfig.json
- .gitignore
- .watchmanconfig
- AGENTS.md
- bun.lock
- bunfig.toml
- CHANGELOG.md
- CONTRIBUTING.md
- eslint.config.js
- LICENSE
- package.json
- README.md
- SECURITY.md
- tsconfig.json
# Installation Guide
git clone https://github.com/JoaoPauloCMarra/react-native-nitro-markdown
Downloads the entire project code from GitHub to your computer.
cd react-native-nitro-markdown
Moves into the project folder you just downloaded.
2. CMake
Medium Recommendedcd packages/react-native-nitro-markdown/android
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
3. Gradle (Java/Kotlin)
Medium- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd packages/react-native-nitro-markdown/android
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
4. Node.js
Easynpm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
