diaslasd / markdown-to-bash
Converte Markdown para texto formatado para o terminal.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.1.0
Requires (Dev)
- phpunit/phpunit: ^11.3
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