Example #1
0
 /// <summary>
 /// Visits the inline anchor.
 /// </summary>
 /// <param name="anchor">The anchor.</param>
 public virtual void VisitInlineAnchor(InlineAnchor anchor)
 {
     if (anchor == null)
     {
         return;
     }
     if (!string.IsNullOrEmpty(anchor.XRefLabel))
     {
         _writer.Write("[[{0},{1}]]", anchor.Id, anchor.XRefLabel);
     }
     else
     {
         _writer.Write("[[{0}]]", anchor.Id);
     }
 }
Example #2
0
 /// <summary>
 /// Visits the inline anchor.
 /// </summary>
 /// <param name="anchor">The anchor.</param>
 public virtual void VisitInlineAnchor(InlineAnchor anchor)
 {
 }