3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 06:35:44 +01:00

35a - the parser reads the plain flavour and the lift goes

This commit is contained in:
2026-09-28 22:02:55 +02:00
parent f75d2d05b6
commit 1d7797bbdc
11 changed files with 311 additions and 314 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ test('spells an expand and a nested expand as a folded callout titled by the mar
'> [!NOTE]- Build log\n>\n> Line.\n>\n> > [!NOTE]- Inner\n> >\n> > Deep.\n',
)
assert.equal(plain(node('expand', {}, said('Line.'))), '> [!NOTE]-\n>\n> Line.\n')
assert.equal(plain(node('expand', { title: ' *Two*\nlines ' })), '> [!NOTE]- \\*Two\\*\\\n> lines\n')
assert.equal(plain(node('expand', { title: ' *Two*\nlines ' })), '> [!NOTE]- \\*Two\\* lines\n')
})
test('spells a task list as a bullet list whose items lead with their state', () => {