PHP code example of havenshen / enjelly-down
1. Go to this page and download the library: Download havenshen/enjelly-down library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
havenshen / enjelly-down example snippets
HavenShen\EnjellyDown\EnjellyDownProvider::class,
'EnjellyDown' => HavenShen\EnjellyDown\Facades\EnjellyDown::class,
/*
* 传入解析内容文本
*/
\EnjellyDown::markdown('需要解析内容文本');