ftembe/kitara-markdown

simple Markdown parser in PHP

dev-master 2023-07-04 14:08 UTC

This package is auto-updated.

Last update: 2024-12-04 17:17:09 UTC


README

This Markdown parser supports basic formatting such as bold and italic text, headers, links, and paragraphs. It uses regular expressions to search for patterns in the Markdown text and replace them with corresponding HTML tags.

Installation

To install this package no can use composer

composer require ftembe/kitara-markdown

Or

git clone https://github.com/FTembe/kitara-markdown.git

Usage

require('vendor/autoload.php');

use Kitara\Parser\Markdown as Parser;

$markdown = new Parser;

echo $markdown::render('## My name is Francisco Tembe');