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.
To get started with Marceo, simply install it using npm:
npm install marceoImport the parse function from 'marceo' in your TypeScript or JavaScript code, and you're ready to convert your Markdown content into HTML.
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.
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.
We welcome contributions from the community. If you find issues or have ideas for improvement, please open an issue or submit a pull request on GitHub.