Conditions | 1 |
Total Lines | 24 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from unittest import TestCase |
||
65 | def test_blockquote_newline(self): |
||
66 | doc = self.conversion( |
||
67 | """ |
||
68 | > [!note] |
||
69 | > |
||
70 | > **rest** |
||
71 | """, |
||
72 | ) |
||
73 | text = convert_text( |
||
74 | doc, |
||
75 | input_format="panflute", |
||
76 | output_format="markdown", |
||
77 | ) |
||
78 | self.assertEqual( |
||
79 | text, |
||
80 | """ |
||
81 | :::: note |
||
82 | ::: title |
||
83 | Note |
||
84 | ::: |
||
85 | |||
86 | **rest** |
||
87 | :::: |
||
88 | """.strip() |
||
89 | ) |
||
210 |