We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2588040 commit f0b4380Copy full SHA for f0b4380
.ci/linters/md/heading_id_linter.R
@@ -1,7 +1,7 @@
1
# ensure that ids are limited to alphanumerics and dashes
2
# (in particular, dots and underscores break the links)
3
check_header_ids = function(md) {
4
- if (!grepl('[.]Rmd$', md)) return()
+ if (!grepl('[.]Rmd$', md)) return(invisible())
5
md = readLines(md)
6
# A bit surprisingly, some headings don't start with a letter.
7
# We're interested in those that set an id to link to, i.e., end with {#id}.
0 commit comments