|
|
@ -1,7 +1,7 @@
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
function customPageMD($page) {
|
|
|
|
function customPageMD($page) {
|
|
|
|
require_once "./Parsedown.php";
|
|
|
|
require 'vendor/autoload.php';
|
|
|
|
$Parsedown = new Parsedown();
|
|
|
|
$Parsedown = new \Noi\ParsedownRubyText();
|
|
|
|
$text = file_get_contents($page);
|
|
|
|
$text = file_get_contents($page);
|
|
|
|
echo '<div class="article article-headerless">';
|
|
|
|
echo '<div class="article article-headerless">';
|
|
|
|
echo $Parsedown->text($text);
|
|
|
|
echo $Parsedown->text($text);
|
|
|
|