PHP code example of majkel / mathdown

1. Go to this page and download the library: Download majkel/mathdown 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/ */

    

majkel / mathdown example snippets




use Majkel\Mathdown;

$md = Mathdown();
echo $md->text('Frequency: $f = \dfrac{1}{T}$');