1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-14 01:54:46 +02:00

Version 1.2.0 Introducing a Basic Content Editor

This commit is contained in:
Sebastian
2018-06-25 18:04:32 +02:00
parent 9286cfd884
commit cfc8128161
34 changed files with 560 additions and 100 deletions

View File

@@ -401,7 +401,18 @@ class ParsedownExtension extends \ParsedownExtra
return $Block;
}
}
/*
protected function blockFencedCodeComplete($Block)
{
$text = $Block['element']['element']['text'];
unset($Block['element']['element']['text']);
$Block['element']['element']['rawHtml'] = "<p>$text</p>";
$Block['element']['element']['allowRawHtmlInSafeMode'] = true;
return $Block;
}
*/
#
# Fenced MathJax
protected function blockFencedMathJaxLaTeX($Line)
@@ -449,5 +460,5 @@ class ParsedownExtension extends \ParsedownExtra
$text = $Block['element']['text'];
$Block['element']['text'] = "\$\$\n" . $text . "\n\$\$";
return $Block;
}
}
}