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

13b - link takes the directive form where CommonMark cannot spell it, unspellable-link leaves the code list

This commit is contained in:
2026-09-16 23:09:30 +02:00
parent 6dfdfac71e
commit b02dea1277
50 changed files with 662 additions and 141 deletions
+1 -2
View File
@@ -28,10 +28,9 @@ function markdownForm(spelling: MarkSpelling): string | undefined {
case 'code':
return '`x`'
case 'directive':
case 'link':
return undefined
case 'emphasis':
return `${spelling.spelling}x${spelling.spelling}`
case 'link':
return '[x](url)'
}
}