Conditions | 1 |
Total Lines | 24 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from unittest import TestCase |
||
139 | def test_blockquote_newline_title(self): |
||
140 | doc = AlertsTest.conversion( |
||
141 | """ |
||
142 | > [!note] My title |
||
143 | > |
||
144 | > **rest** |
||
145 | """, |
||
146 | ) |
||
147 | text = convert_text( |
||
148 | doc, |
||
149 | input_format="panflute", |
||
150 | output_format="markdown", |
||
151 | ) |
||
152 | self.assertEqual( |
||
153 | text, |
||
154 | """ |
||
155 | :::: note |
||
156 | ::: title |
||
157 | My title |
||
158 | ::: |
||
159 | |||
160 | **rest** |
||
161 | :::: |
||
162 | """.strip() |
||
163 | ) |
||
210 |