diaslasd/markdown-to-bash

Converte Markdown para texto formatado para o terminal.

0.0.4 2024-10-21 14:42 UTC

This package is auto-updated.

Last update: 2024-10-21 14:42:54 UTC


README

Converte Markdown para texto formatado para o terminal.

Instalação

   composer require diaslasd/markdown-to-bash

Uso

   <?php

   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;

   ?>

Testes

composer test