PHP code example of diaslasd / markdown-to-bash
1. Go to this page and download the library: Download diaslasd/markdown-to-bash 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/ */
diaslasd / markdown-to-bash example snippets
use Diaslasd\MarkdownToBash;
$markdown = "# Título\n\nUm texto qualquer.\n\n- Item 1\n- Item 2";
$markdownToBash = new MarkdownToBash();
$output = $markdownToBash->convert($markdown);
echo $output;