new Span(content: string,Span,Array.<Span>, classes: string) → voidprivate
A span is the most elementary element that can be rendered. It is composed of an optional body of text and an optional list of children (other spans). Each span can be decorated with CSS classes and style attributes.
classes
string
list of classes attributes associated with this node
Properties
type
string
For example, 'command', 'mrel', etc...
classes
string
A string of space separated CSS classes associated with this element
body
string
Content of this span. Can be empty.
style
Object
A set of key/value pairs specifying CSS properties associated with this element.
height
number
The measurement from baseline to top, in em.
depth
number
The measurement from baseline to bottom, in em.
