Documentation
¶
Overview ¶
Package terminal converts ANSI input to HTML output.
The generated HTML needs to be used with the stylesheet at https://raw.githubusercontent.com/buildkite/terminal-to-html/master/assets/terminal.css and wrapped in a term-container div.
Modified version of https://github.com/buildkite/terminal-to-html
Index ¶
Constants ¶
View Source
const ( ELEMENT_ITERM_IMAGE = iota ELEMENT_IMAGE = iota ELEMENT_LINK = iota ELEMENT_BK = iota )
Variables ¶
This section is empty.
Functions ¶
func RenderAsANSI ¶
RenderAsANSI parses ANSI cursor codes, but retains color codes.
func RenderAsHTML ¶
RenderAsHTML converts ANSI to HTML and returns the result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.