package
1.6.0
Repository: https://github.com/writeas/web-core.git
Documentation: pkg.go.dev

# Functions

ApplyBasicAccessibleMarkdown applies Markdown to the given data, rendering basic text formatting and preserving hard line breaks in HTML.
No description provided by the author
No description provided by the author
ExtractTitle takes the given raw post text and returns a title, if explicitly provided, and a body.
No description provided by the author
No description provided by the author
No description provided by the author
PostDescription generates a description based on the given post content, title, and post ID.
PostLede attempts to extract the first thought of the given post, generally contained within the first line or sentence of text.
No description provided by the author
No description provided by the author
StripHTMLWithoutEscaping strips HTML tags with bluemonday's StrictPolicy, then unescapes the HTML entities added in by sanitizing the content.
TruncToWord truncates the given text to the provided limit.