Documentation ¶ Overview ¶ Package htmltext turns HTML into readable plain text, for the text part of emails. Index ¶ func Convert(doc string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Convert ¶ func Convert(doc string) string Convert returns the text of an HTML document: block elements are separated by blank lines, list items start with "- ", links show their URL in parentheses, and <head>, <style> and <script> are left out. Types ¶ This section is empty. Source Files ¶ View all Source files htmltext.go Click to show internal directories. Click to hide internal directories.