next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

options(MarkUpType) -- get options

Synopsis

Description

Optional arguments of mark up types allow attributes to be added to html elements.
i1 : needsPackage "Text"

o1 = Text

o1 : Package
i2 : DIV

o2 = DIV

o2 : MarkUpTypeWithOptions
i3 : options DIV

o3 = OptionTable{class => null}

o3 : OptionTable
i4 : d = DIV { "class" => "examples", "hi there" }

o4 = hi there

o4 : DIV
i5 : html d

o5 = <div class="examples">hi there</div>
i6 : net d

o6 = hi there