Module unescaped_backticks

Source
Expand description

Detects unescaped backticks (`) in doc comments.

Structs§

Element 🔒
A markdown tagged element, which may or may not contain an unescaped backtick.

Enums§

PrevCodeGuess 🔒
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 🔒