Expand description
Detects unescaped backticks (`) in doc comments.
Structs§
- Element π
- A markdown tagged element, which may or may not contain an unescaped backtick.
Enums§
- Prev
Code πGuess - A previous inline code node, that looks wrong.
Functions§
- can_
suggest_ πbacktick - Returns whether inserting a backtick at
dox[index]
will not produce double backticks. - clamp_
end π - Decrease the index until it is inside or one past the end of one of the ranges.
- clamp_
start π - Increase the index until it is inside or one past the end of one of the ranges.
- guess_
end_ πof_ code - Given a potentially unclosed inline code, attempt to find the end.
- guess_
start_ πof_ code - Given a potentially unclosed inline code, attempt to find the start.
- suggest_
insertion π - Try to emit a span suggestion and fall back to help messages if we canβt find a suitable span.
- visit_
item π