updates plug with all sorts of awesome improvements
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import Foundation
|
||||
|
||||
/// The help text: the docs, tricks and shortcuts that Plak Help appends, read from `help.md` in the page file format.
|
||||
public enum HelpText {
|
||||
/// The text of help.md; empty when the file is missing.
|
||||
public static let text: String = {
|
||||
guard let url = LoremText.fileURL(named: "help.md"), let text = try? String(contentsOf: url, encoding: .utf8) else { return "" }
|
||||
return text
|
||||
}()
|
||||
}
|
||||
Reference in New Issue
Block a user