Changeset View
Changeset View
Standalone View
Standalone View
autotests/html/test.markdown.html
Show All 37 Lines | |||||
38 | <span style="color:#0057ae;">> block quote</span><span style="color:#0057ae;font-style:italic;"> _italic_</span> | 38 | <span style="color:#0057ae;">> block quote</span><span style="color:#0057ae;font-style:italic;"> _italic_</span> | ||
39 | <span style="color:#0057ae;">> more block quote</span> | 39 | <span style="color:#0057ae;">> more block quote</span> | ||
40 | 40 | | |||
41 | normal text | 41 | normal text | ||
42 | 42 | | |||
43 | <span style="color:#898887;">Title: some text</span> | 43 | <span style="color:#898887;">Title: some text</span> | ||
44 | 44 | | |||
45 | normal text | 45 | normal text | ||
46 | | ||||
47 | <span style="color:#644a9b;font-weight:bold;"># Fenced code blocks (bug 356974)</span> | ||||
48 | | ||||
49 | <span style="color:#644a9b;font-weight:bold;">## PHP</span> | ||||
50 | | ||||
51 | <span style="color:#b08000;">```php</span> | ||||
52 | <span style="font-weight:bold;">namespace</span><span style="color:#b08000;"> Application\Controller</span><span style="color:#006e28;">;</span> | ||||
53 | | ||||
54 | <span style="font-weight:bold;">use</span><span style="color:#b08000;"> Zend\Mvc\Controller\AbstractActionController</span><span style="color:#006e28;">;</span> | ||||
55 | | ||||
56 | <span style="font-weight:bold;">class</span><span style="color:#b08000;"> IndexController </span><span style="font-weight:bold;">extends</span><span style="color:#b08000;"> AbstractActionController</span> | ||||
57 | { | ||||
58 | } | ||||
59 | <span style="color:#b08000;">```</span> | ||||
60 | | ||||
61 | <span style="color:#644a9b;font-weight:bold;">## Python</span> | ||||
62 | | ||||
63 | <span style="color:#b08000;">```python</span> | ||||
64 | <span style="font-weight:bold;">def</span><span style="color:#b08000;"> </span>addXToY(x, y)<span style="color:#b08000;">:</span> | ||||
65 | <span style="color:#b08000;"> </span>total<span style="color:#b08000;"> </span>=<span style="color:#b08000;"> x </span>+<span style="color:#b08000;"> y</span> | ||||
66 | <span style="color:#b08000;"> </span><span style="color:#644a9b;font-weight:bold;">print</span><span style="color:#b08000;"> </span>total | ||||
67 | <span style="color:#b08000;">```</span> | ||||
68 | | ||||
69 | <span style="color:#644a9b;font-weight:bold;">## No language specified</span> | ||||
70 | | ||||
71 | <span style="color:#b08000;">```</span> | ||||
72 | <span style="color:#b08000;">No language is specified, but it should be still rendered as code block.</span> | ||||
73 | <span style="color:#b08000;">```</span> | ||||
46 | </pre></body></html> | 74 | </pre></body></html> |