convertMd2Html

Simple Markdown to HTML converter demo using convertMd2Html($text, $cfg).

Output

Convert Markdown to HTML

This is a sample Markdown document used as the default input for the demo.

Features

Usage

Simply edit the Markdown in the textarea and press Convert.

Example code

<?php
echo "Hello, world!";
?>

More content

  1. First ordered item
  2. Second ordered item

> A blockquote example (rendered simply here)

Small section

You can mix formatting. Here's a longer paragraph to make sure the default text spans multiple lines and gives a reasonable preview when converted. The goal is to have at least thirty lines of sample content built into this default text.

---

Thank you for trying this converter.