https://github.com/kruceo/marceo
Converts Markdown to HTML, allowing you to create fully customized and structured HTML documents.
https://github.com/kruceo/marceo
html markdown markdown-to-html parser
Last synced: 5 months ago
JSON representation
Converts Markdown to HTML, allowing you to create fully customized and structured HTML documents.
- Host: GitHub
- URL: https://github.com/kruceo/marceo
- Owner: Kruceo
- Created: 2023-06-23T20:37:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T21:36:14.000Z (over 1 year ago)
- Last Synced: 2025-04-14T03:15:02.974Z (about 1 year ago)
- Topics: html, markdown, markdown-to-html, parser
- Language: TypeScript
- Homepage:
- Size: 269 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Marceo: Markdown to HTML Parser with Plugin Support
Marceo is a versatile TypeScript and JavaScript library designed for parsing Markdown to HTML. It boasts plugin support and can seamlessly run in both Node.js and browser environments.
## Installation
To get started with Marceo, simply install it using npm:
```bash
npm install marceo
```
## Usage
Import the `parse` function from 'marceo' in your TypeScript or JavaScript code, and you're ready to convert your Markdown content into HTML.
```javascript
import { parse } from 'marceo';
const markdownContent = '# My **Markdown**';
const htmlResult = parse(markdownContent);
console.log(htmlResult);
```
This example demonstrates how to convert the Markdown string `'# My **Markdown**'` to its corresponding HTML representation using Marceo's `parse` function. The resulting HTML will be logged to the console.
## Compatibility
Marceo is designed to seamlessly work in both Node.js and browser environments, providing flexibility for your projects. Whether you are building server-side applications or client-side web applications, Marceo has you covered.
## Contributing
We welcome contributions from the community. If you find issues or have ideas for improvement, please open an [issue](https://github.com/kruceo/marceo/issues) or submit a [pull request](https://github.com/kruceo/marceo/pulls) on GitHub.
## Author
- [Website](https://kruceo.com)
- [Donations](https://kruceo.com/donate)