| Conditions | 1 |
| Total Lines | 50 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | # This Python file uses the following encoding: utf-8 |
||
| 123 | def test_numbering_sectioning(): |
||
| 124 | verify_conversion( |
||
| 125 | ''' |
||
| 126 | --- |
||
| 127 | pandoc-numbering: |
||
| 128 | exercise: |
||
| 129 | general: |
||
| 130 | sectioning-levels: '-.+.' |
||
| 131 | --- |
||
| 132 | |||
| 133 | First chapter |
||
| 134 | ============= |
||
| 135 | |||
| 136 | Second chapter |
||
| 137 | ============== |
||
| 138 | |||
| 139 | First section |
||
| 140 | ------------- |
||
| 141 | |||
| 142 | Second section |
||
| 143 | -------------- |
||
| 144 | |||
| 145 | Exercise # |
||
| 146 | |||
| 147 | Exercise (Title) # |
||
| 148 | ''', |
||
| 149 | ''' |
||
| 150 | --- |
||
| 151 | pandoc-numbering: |
||
| 152 | exercise: |
||
| 153 | general: |
||
| 154 | sectioning-levels: '-.+.' |
||
| 155 | --- |
||
| 156 | |||
| 157 | First chapter |
||
| 158 | ============= |
||
| 159 | |||
| 160 | Second chapter |
||
| 161 | ============== |
||
| 162 | |||
| 163 | First section |
||
| 164 | ------------- |
||
| 165 | |||
| 166 | Second section |
||
| 167 | -------------- |
||
| 168 | |||
| 169 | [**Exercise 2.1**]{#exercise:2.2.1 .pandoc-numbering-text .exercise} |
||
| 170 | |||
| 171 | [**Exercise 2.2** *(Title)*]{#exercise:2.2.2 .pandoc-numbering-text .exercise} |
||
| 172 | ''' |
||
| 173 | ) |
||
| 175 |