No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
codeception
src
tests
.gitignore
.travis.yml
Makefile
codeception.yml
composer.json
composer.lock
extract_markdown_codes.php
phpunit.xml
readme.md

readme.md

MarkdownCodeExtractor

Build Status

MarkdownCodeExtractor is a markdown code blocks extractor that reads from markdown files and publish each code blocks.

Requirements: PHP 7 or above

Usage

$ git clone this_repo
$ cd this_repo
$ composer install
$ php extract_markdown_codes.php /path/to/markdown_files output_filename_prefix /path/to/output_dir

Test

$ wget http://codeception.com/codecept.phar
$ make
php vendor/bin/phpunit
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.

..

Time: 88 ms, Memory: 6.00Mb

OK (2 tests, 7 assertions)
php codecept.phar run
Codeception PHP Testing Framework v2.1.5
Powered by PHPUnit 4.8.21 by Sebastian Bergmann and contributors.

Acceptance Tests (1) --------------------------------------------------------------------------------
ExtractMarkdownCodesCommandCept                                                                Ok
-----------------------------------------------------------------------------------------------------


Time: 217 ms, Memory: 8.00Mb