@@ -19,16 +19,16 @@ |
||
19 | 19 | |
20 | 20 | interface MarkdownInterface { |
21 | 21 | |
22 | - # |
|
23 | - # Initialize the parser and return the result of its transform method. |
|
24 | - # This will work fine for derived classes too. |
|
25 | - # |
|
26 | - public static function defaultTransform($text); |
|
22 | + # |
|
23 | + # Initialize the parser and return the result of its transform method. |
|
24 | + # This will work fine for derived classes too. |
|
25 | + # |
|
26 | + public static function defaultTransform($text); |
|
27 | 27 | |
28 | - # |
|
29 | - # Main function. Performs some preprocessing on the input text |
|
30 | - # and pass it through the document gamut. |
|
31 | - # |
|
32 | - public function transform($text); |
|
28 | + # |
|
29 | + # Main function. Performs some preprocessing on the input text |
|
30 | + # and pass it through the document gamut. |
|
31 | + # |
|
32 | + public function transform($text); |
|
33 | 33 | |
34 | 34 | } |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | |
7 | 7 | # Install PSR-0-compatible class autoloader |
8 | 8 | spl_autoload_register(function($class){ |
9 | - require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php'; |
|
9 | + require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php'; |
|
10 | 10 | }); |
11 | 11 | |
12 | 12 | # Get Markdown class |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | </head> |
25 | 25 | <body> |
26 | 26 | <?php |
27 | - # Put HTML content in the document |
|
28 | - echo $html; |
|
29 | - ?> |
|
27 | + # Put HTML content in the document |
|
28 | + echo $html; |
|
29 | + ?> |
|
30 | 30 | </body> |
31 | 31 | </html> |
@@ -5,7 +5,7 @@ |
||
5 | 5 | # you like. |
6 | 6 | |
7 | 7 | # Install PSR-0-compatible class autoloader |
8 | -spl_autoload_register(function($class){ |
|
8 | +spl_autoload_register(function($class) { |
|
9 | 9 | require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php'; |
10 | 10 | }); |
11 | 11 |