next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Text :: M2CODE

M2CODE -- CODE object with syntax highlighting



Returns a CODE object with its "class" attribute set to "language-macaulay2" so that it will appear with syntax highlighting in the html documentation. For example,
M2CODE "ideal(x*z - y^2, y*w - z^2, x*w - y*z)"
will appear as
ideal(x*z - y^2, y*w - z^2, x*w - y*z)

Ways to use M2CODE :

For the programmer

The object M2CODE is a method function.