Don't check for URLs inside codeblocks
This commit is contained in:
parent
fce2be0ea7
commit
1fb404bebe
3 changed files with 55 additions and 41 deletions
|
@ -51,6 +51,10 @@ pub fn c() {}
|
|||
/// [b]
|
||||
///
|
||||
/// [b]: http://b.com
|
||||
///
|
||||
/// ```
|
||||
/// This link should not be linted: http://example.com
|
||||
/// ```
|
||||
pub fn everything_is_fine_here() {}
|
||||
|
||||
#[allow(url_improvements)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue