This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Asciidoctor.
Summary
Unsets the specified attribute.
- Assembly
- Cake
.Asciidoctor .dll - Namespace
- Cake
.Asciidoctor - Containing Type
- Asciidoctor
Attribute Collection
Syntax
public void Unset(string name)
Remarks
Marking an attribute as an "unset attribute" tells Asciidoctor to remove the attribute value in case it was already defined in the input file.
For example,
Unset("Name")
will result in an NAME!
commandline argument to be passed to Asciidoctor.
If the attribute was already added to this collection, unsetting the attribute will remove the attribute's value,
and retset the attribute options to Default
.
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the attribute to unset |
Return Value
Type | Description |
---|---|
void |