2017 © Pedro Peláez
 

library mdash

image

tttptd/mdash

  • Wednesday, April 26, 2017
  • by tttptd
  • Repository
  • 2 Watchers
  • 2 Stars
  • 102 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 65 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

mdash

Evgeny Muravjev Typograph, http://mdash.ru Authors: Evgeny Muravjev & Alexander Drutsa, (*1)

EMT - Evgeny Muravjev Typograph, (*2)

BUILDING

To build EMT you need php version 5.2 or newer. Suggested way to build typograph is to run builder.php through web-server., (*3)

E.g.: http://localhost/mdash/builder/builder.php, (*4)

Then you will have 3 options: build for php, build for python, build tests for python., (*5)

Resulting files are located on root of the project: EMT.php EMT.py, (*6)

RUNNING

Use tools-php/online.php to test php version of the Typograph., (*7)

tools-php/example.php contains few examples, how to use typograph inside php. tools-py/run.py contains examples, how to use typograph inside python., (*8)

TESTING

To run tests for php version you should go to the page tools-php/test.php through web-server. On this page you hit start to run all the tests., (*9)

E.g.: http://localhost/mdash/tools-php/test.php, (*10)

To python tests you need first build test set from php version through builder/builder.php, and then run the tests:, (*11)

cd tools-py, (*12)

python test.py, (*13)

DEBUGGING

Debug EMT, use debug.php This script will show all the rules tat were used, for selected text and show step by step log., (*14)

The Versions

26/04 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.3.0