mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
06bca0cc669680d875d294fdf0246b941026a861
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
…
…
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Languages
TypeScript
81.7%
JavaScript
12.8%
HTML
2%
Starlark
1.8%
CSS
1%
Other
0.7%