mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, the indentation of code snippets in the "Cheat sheet" guide was done using `<br>` elements (for line breaks) and ` ` HTML entities (for space). This was laborious and put the onus on the author to remember to use these symbols (instead of regular whitespace characters). (Discussed in https://github.com/angular/angular/pull/41051#discussion_r585651621.) This commit changes the way `<code>` elements are styles inside the "Cheat sheet" guide to allow using regular whitespace characters in code snippets. It also changes all `<br>`/` ` occurrences to `\n`/` ` respectively to make code snippets more readable in the source code. PR Close #41051 |
||
|---|---|---|
| .. | ||
| cli | ||
| cli-src | ||
| errors | ||
| examples | ||
| guide | ||
| images | ||
| marketing | ||
| start | ||
| tutorial | ||
| file-not-found.md | ||
| license.md | ||
| navigation.json | ||