# html -- convert to HTML format

## Synopsis

• Usage:
html x
• Inputs:
• x, , any Macaulay2 object
• Outputs:
• , the HTML rendering of x

## Description

html x converts x to HTML format.

The return value is a string that is suitable for use in a .html file readable by a browser. hypertext elements are translated into the corresponding HTML elements. When no HTML conversion is available, tex is called. $\LaTeX$ can be rendered in the browser using MathJax or $\KaTeX$.

• html(TEX) -- conversion of $\TeX$ to html