Record

Directive

Module PuduLangDocgen.Markdown.Directives

type Directive = {
  name: Str,
  attributes: Array[(Str, Str)],
  closed: Bool
}

View source

A triple-colon container line with named attributes

Fields

Name Type Description
name Str
attributes Array[(Str, Str)]
closed Bool
Name Description
colon A `:::name key="value" flag:::` line; `closed` tells whether it ends on the same line.
value The value of an attribute, or the empty text.