| Conditions | 1 |
| Total Lines | 23 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from unittest import TestCase |
||
| 40 | def test_blockquote_rest(self): |
||
| 41 | doc = self.conversion( |
||
| 42 | """ |
||
| 43 | > [!note] |
||
| 44 | > **rest** |
||
| 45 | """, |
||
| 46 | ) |
||
| 47 | text = convert_text( |
||
| 48 | doc, |
||
| 49 | input_format="panflute", |
||
| 50 | output_format="markdown", |
||
| 51 | ) |
||
| 52 | self.assertEqual( |
||
| 53 | text, |
||
| 54 | """ |
||
| 55 | :::: note |
||
| 56 | ::: title |
||
| 57 | Note |
||
| 58 | ::: |
||
| 59 | |||
| 60 | **rest** |
||
| 61 | :::: |
||
| 62 | """.strip() |
||
| 63 | ) |
||
| 210 |