Update.
This commit is contained in:
Vendored
+9
@@ -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("")
|
||||
System.print(img.contains("<img src=\"image.png\" alt=\"Alt text\">")) // expect: true
|
||||
Reference in New Issue
Block a user