Specifies standard block-level content as the body of the directive.
Specifies standard block-level content as the body of the directive.
a directive part that can be combined with further parts with the ~
operator
Specifies that the body of the directive markup should get passed to the conversion function as a raw string.
Specifies that the body of the directive markup should get passed to the conversion function as a raw string.
the function to use for converting and validating the parsed value
a directive part that can be combined with further parts with the ~
operator
Specifies a required named field.
Specifies a required named field.
the name of the field as used in the directive markup (without the colons)
the function to use for converting and validating the parsed value
a directive part that can be combined with further parts with the ~
operator
Specifies an optional named field.
Specifies an optional named field.
the name of the field as used in the directive markup (without the colons)
the function to use for converting and validating the parsed value if it is present
a directive part that can be combined with further parts with the ~
operator
The public user API for specifying the required and optional parts of a directive (fields or body) together with optional converter/validator functions.