Sablon.HTMLConverter.List (sablon v0.4.3)

Copy Markdown View Source

An ol or ul element.

Word has no list element: a list is a run of paragraphs that share a numbering definition. A definition is registered for the outermost list only, so nested lists continue the same numbering at a deeper level.

Nesting is recognised across list kinds, so a ul inside an ol becomes a deeper level of the same numbering rather than a paragraph nested inside another one, which Word would reject.

Summary

Types

t()

@type t() :: %Sablon.HTMLConverter.List{nodes: [struct()]}

Functions

children(list)

describe(list)

new(env, node, properties)

Converts a list element and its items.

put_children(list, nodes)

to_docx(list)