From 894a69884a4fddc0856145e0259fbfb4410844f4 Mon Sep 17 00:00:00 2001 From: Vinicius Dias Date: Sun, 19 Mar 2023 16:52:04 -0300 Subject: [PATCH] Creating a PHP wrapper example --- wrappers/wrapper.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 wrappers/wrapper.php diff --git a/wrappers/wrapper.php b/wrappers/wrapper.php new file mode 100644 index 000000000..f96bb0fa6 --- /dev/null +++ b/wrappers/wrapper.php @@ -0,0 +1,18 @@ +cmark_markdown_to_html($markdown, strlen($markdown), 0)); + +echo $html . PHP_EOL;