Convert WordPress Plugin Readme Files to GitHub Flavored Markdown
$markdown = \WPReadme2Markdown\Converter::convert($readme);
Add a composer dependency to your project:
composer require wpreadme2markdown/wpreadme2markdown --dev
Visit this GitHub page for the CLI version
Visit this GitHub page for the web version and a link to its running instance