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.
2 parents 43d5646 + d9e869d commit f39e192Copy full SHA for f39e192
Sources/SwiftMarkdown/SwiftMarkdown.swift
@@ -18,6 +18,7 @@ public struct MarkdownOptions: OptionSet {
18
static public let normalize = MarkdownOptions(rawValue: 1 << 8)
19
static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
20
static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
21
+ static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
22
}
23
24
public func markdownToHTML(_ str: String, options: MarkdownOptions = [.safe]) throws -> String {
0 commit comments