PHP code example of benjaminhoegh / parsedown-math
1. Go to this page and download the library: Download benjaminhoegh/parsedown-math 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/ */
benjaminhoegh / parsedown-math example snippets
$Parsedown = new ParsedownMath([
'math' => [
'enabled' => true // Write true to enable the module
]
]);
'math' => [
['inline'] => [
'enabled' => false // false disable the module
],
// Or
['block'] => [
'enabled' => false
]
]
$Parsedown = new ParsedownMath([
'math' => [
'matchSingleDollar' => true // default false
]
]);