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 🔒