Skip to content

Themroc/humhub_html2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Library to convert html to markdown. Use like

$markdown= Yii::$app->getModule('html2md')->convert($html);

A little check would of course be better:

if (null == $h2m= Yii::$app->getModule('html2md'))
	show_error('html2md not installed or activivated. Shame!');
else
	$markdown= $h2m->convert($html);

Installation

Unzip the latest archive into */protected/modules folder, activate in Administration / Modules.

Module website: https://github.com/Themroc/humhub_html2md

Author: Themroc 7hemroc@gmail.com

Changelog

https://github.com/Themroc/humhub_html2md/commits/master

Bugtracker

https://github.com/Themroc/humhub_html2md/issues

ToDos