Changeset View
Changeset View
Standalone View
Standalone View
autotests/folding/test.markdown.fold
Show All 31 Lines | |||||
32 | > block quote _italic_ | 32 | > block quote _italic_ | ||
33 | > more block quote | 33 | > more block quote | ||
34 | 34 | | |||
35 | normal text | 35 | normal text | ||
36 | 36 | | |||
37 | Title: some text | 37 | Title: some text | ||
38 | 38 | | |||
39 | normal text | 39 | normal text | ||
40 | | ||||
41 | # Fenced code blocks (bug 356974) | ||||
42 | | ||||
43 | ## PHP | ||||
44 | | ||||
45 | ```php | ||||
46 | namespace Application\Controller; | ||||
47 | | ||||
48 | use Zend\Mvc\Controller\AbstractActionController; | ||||
49 | | ||||
50 | class IndexController extends AbstractActionController | ||||
51 | <beginfold id='6'>{</beginfold id='6'> | ||||
52 | <endfold id='6'>}</endfold id='6'> | ||||
53 | ``` | ||||
54 | | ||||
55 | ## Python | ||||
56 | | ||||
57 | ```python | ||||
58 | def addXToY<beginfold id='48'>(</beginfold id='48'>x, y<endfold id='48'>)</endfold id='48'>: | ||||
59 | total = x + y | ||||
60 | print total | ||||
61 | ``` | ||||
62 | | ||||
63 | ## No language specified | ||||
64 | | ||||
65 | ``` | ||||
66 | No language is specified, but it should be still rendered as code block. | ||||
67 | ``` |