https://github.com/schererleander/markdown-parser
Markdown parser built with React
https://github.com/schererleander/markdown-parser
markdown-parser react
Last synced: 4 months ago
JSON representation
Markdown parser built with React
- Host: GitHub
- URL: https://github.com/schererleander/markdown-parser
- Owner: schererleander
- Created: 2024-01-22T19:52:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T19:19:54.000Z (over 1 year ago)
- Last Synced: 2025-07-07T19:02:18.426Z (6 months ago)
- Topics: markdown-parser, react
- Language: TypeScript
- Homepage:
- Size: 706 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Markdown Parser

A simple Markdown parser built with React that utilizes `dangerouslySetInnerHTML()`. **Note:** This approach is not recommended for production use, as it can expose your application to potential security risks, including the execution of malicious code.
## Supported Syntax
This Markdown parser supports the following syntax:
- **Headings**: Create headings of various levels.
- **Text Formatting**: Apply bold, italic, and underlined styles to text.
- **Highlighting**: Highlight text for emphasis.
- **Code Blocks**: Display code snippets with proper formatting.
- **Images**: Embed images within your Markdown content.
- **Horizontal Ruler**: Insert horizontal lines to separate content.
## References
For more information on Markdown syntax, check out the [Markdown Basic Syntax Guide](https://www.markdownguide.org/basic-syntax/).
## Installation
To try this Markdown parser, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/schererleander/markdown-parser.git
2. Navigate to the project directory:
```bash
cd markdown-parser
3. Install the dependencies:
```bash
npm install
4. Start the development server:
```bash
npm start