ryangarber / tripdown
Extends ParsedownExtra for easier and prettier formatting
1.0
2019-05-02 21:33 UTC
Requires
- erusev/parsedown-extra: ^0.7.1
This package is auto-updated.
Last update: 2024-06-05 22:03:44 UTC
README
Extends ParsedownExtra. Links to images become images, YouTube links become embedded players, and tables get Bootstrap 4 classes.
Install
Composer
> composer require ryangarber/tripdown
Pure PHP
<?php
require('path/to/Parsedown.php');
require('path/to/ParsedownExtra.php');
require('src/Tripdown.php');
Usage
Simply replace
$parsedown = new Parsedown();
with
$parsedown = new Tripdown();