Skip to content

ParsedownExtra but with YouTube embeds and Bootstrap.

License

Notifications You must be signed in to change notification settings

RyanGarber/Tripdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tripdown

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();

About

ParsedownExtra but with YouTube embeds and Bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages