mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0405ddb521
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