FormatPostTextTag
struct FormatPostTextTag : UnsafeUnescapedLeafTagRuns the element sanitizer on the given string, converts Jocomoji (specific string tags with the form :tag:) into inline images, and then converts substrings of the forum “@username” and “#hashtag” into links.
Usage: #formatTwarrtText(String) -> String Usage: #formatPostText(String) -> String Usage: #formatFezText(String) -> String Usage: #formatSeamailText(String) -> String
- 
                  
                  DeclarationSwift static var nameRefStartCharacterSet: CharacterSet { get }
- 
                  
                  DeclarationSwift func render(_ ctx: LeafContext) throws -> LeafData
- 
                  
                  Process a set of regex matches and substitute appropriate content in a return HTML string. Pass by ref can kinda be voodoo. https://stackoverflow.com/questions/27364117/is-swift-pass-by-value-or-pass-by-reference DeclarationSwift private func processUrlMatches(string: inout String, matches: [NSTextCheckingResult])ParametersstringReference to the Leaf string that is the HTML content to return to the user. matchesArray of regex matching ranges. Return Valuevoid 
- 
                  
                  DeclarationSwift enum Usage
- 
                  
                  DeclarationSwift let usage: Usage
- 
                  
                  DeclarationSwift let genericUrlRegex: NSRegularExpression
- 
                  
                  DeclarationSwift init(_ forUsage: Usage) throws
 View on GitHub
            View on GitHub
           FormatPostTextTag Structure Reference
      FormatPostTextTag Structure Reference