Class Anchor
Represents an anchor for a cross reference.
public class Anchor : Element
  - Inheritance
 - 
      
      
      Anchor
 
- Inherited Members
 
- Extension Methods
 
Constructors
Anchor(Element, string)
Initializes a new instance of the Anchor class.
public Anchor(Element element, string id)
  Parameters
elementElementElement of the anchor, for example a Section.
idstringID of the anchor, without a leading '#'.
Properties
Element
Gets the element of the anchor.
public Element Element { get; }
  Property Value
Identifier
Gets the anchor identifier.
public string Identifier { get; }
  Property Value
Methods
AddAsciidocTo(StringBuilder)
Converts the element to AsciiDoc.
public override void AddAsciidocTo(StringBuilder builder)
  Parameters
builderStringBuilderThe AsciiDoc content is added to this.