commit 452bda1d594062ce02f86fbfda86661e65671afc
parent c1489e8be5245ce4faa27e011ae2a8b4de85d22d
Author: FIGBERT <figbert@figbert.com>
Date: Sat, 3 Sep 2022 14:19:37 -0700
Add public initializer
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Sources/SwiftGemtext/SwiftGemtext.swift b/Sources/SwiftGemtext/SwiftGemtext.swift
@@ -1,6 +1,8 @@
import SwiftUI
public struct Gemtext {
+ public init() {}
+
public func parse(_ source: String) -> [LineType] {
var lines = [LineType]()
var pre = PreformattedState()