# Functions
Detect returns best guess of a markup type based on file name.
FindAllMentions matches mention patterns in given content and returns a list of found user names without @ prefix.
IsIPythonNotebook reports whether name looks like a IPython notebook based on its extension.
IsMarkdownFile reports whether name looks like a Markdown file based on its extension.
IsOrgModeFile reports whether name looks like a Org-mode file based on its extension.
IsReadmeFile reports whether name looks like a README file based on its extension.
Markdown takes a string or []byte and renders to HTML in Markdown syntax with special links.
NewSanitizer initializes sanitizer with allowed attributes based on settings.
OrgMode takes a string or []byte and renders to HTML in Org-mode syntax with special links.
RawMarkdown renders content in Markdown syntax to HTML without handling special links.
RawOrgMode renders content in Org-mode syntax to HTML without handling special links.
Render takes a string or []byte and renders to sanitized HTML in given type of syntax with special links.
RenderCrossReferenceIssueIndexPattern renders issue indexes from other repositories to corresponding links.
RenderIssueIndexPattern renders issue indexes to corresponding links.
RenderSha1CurrentPattern renders SHA1 strings to corresponding links that assumes in the same repository.
RenderSpecialLink renders mentions, indexes and SHA1 strings to corresponding links.
Sanitize takes a string that contains a HTML fragment or document and applies policy whitelist.
SanitizeBytes takes a []byte slice that contains a HTML fragment or document and applies policy whitelist.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
CommitPattern matches link to certain commit with or without trailing hash, e.g.
CrossReferenceIssueNumericPattern matches string that references a numeric issue in a difference repository e.g.
IssueAlphanumericPattern matches string that references to an alphanumeric issue, e.g.
IssueFullPattern matches link to an issue with or without trailing hash, e.g.
IssueNumericPattern matches string that references to a numeric issue, e.g.
MentionPattern matches string that mentions someone, e.g.
Sha1CurrentPattern matches string that represents a commit SHA, e.g.
# Structs
MarkdownRenderer is a extended version of underlying Markdown render object.
Sanitizer is a protection wrapper of *bluemonday.Policy which does not allow any modification to the underlying policies once it's been created.
# Type aliases
No description provided by the author