We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e826f commit 8b39b7fCopy full SHA for 8b39b7f
Sources/Parsley/Parsley.swift
@@ -10,7 +10,7 @@ public struct Parsley {
10
public static func html(_ content: String, options: MarkdownOptions = [.safe]) throws -> String {
11
var buffer: String?
12
try content.withCString {
13
- guard let buf = cmark_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
+ guard let buf = cmark_gfm_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
14
throw MarkdownError.conversionFailed
15
}
16
buffer = String(cString: buf)
0 commit comments