This commit is contained in:
2026-01-24 23:40:22 +01:00
parent 1a0f7f51a1
commit 8c1a721c4c
105 changed files with 23275 additions and 94 deletions
+9
View File
@@ -0,0 +1,9 @@
// retoor <retoor@molodetz.nl>
import "markdown" for Markdown
var link = Markdown.toHtml("[Google](https://google.com)")
System.print(link.contains("<a href=\"https://google.com\">Google</a>")) // expect: true
var img = Markdown.toHtml("![Alt text](image.png)")
System.print(img.contains("<img src=\"image.png\" alt=\"Alt text\">")) // expect: true