06bca0cc66
Previously any code block, which was not marked with `no-auto-link` css class would have its contents auto-linked to API pages. Sometimes this results in false positive links being generated. This is problematic for triple backticked blocks, which cannot provide the `no-auto-link` CSS class to prevent the linking. This commit fixes the problem by allowing the auto-linker to be configured not to auto-link code blocks that have been marked with an "ignored" language. By default these are `bash` and `json`. Triple backticked blocks are able to specify the language directly after the first set of triple backticks. Fixes #33859 PR Close #33877 |
||
---|---|---|
.. | ||
add-image-dimensions.js | ||
add-image-dimensions.spec.js | ||
auto-link-code.js | ||
auto-link-code.spec.js | ||
autolink-headings.js | ||
autolink-headings.spec.js | ||
h1-checker.js | ||
h1-checker.spec.js |