angular-cn/aio/content
George Kalpakas 1b38b413de docs: fix indentation of code snippets in the "Cheat sheet" guide (#41051)
Previously, the indentation of code snippets in the "Cheat sheet" guide
was done using regular spaces. However, leading whitespace is ignored in
HTML elements (by default), which resulted in the identation being lost.

This commit fixes this by using the ` ` HTML entity for
indentation, ensuring the code snippets are easier to read.

Some examples:

Before: ![cheatsheet code indentation before][1]
After: ![cheatsheet code since PR 40944][2]

[1]: https://user-images.githubusercontent.com/8604205/109385242-218dd600-78fb-11eb-9261-18ab5f2c308c.png
[2]: https://user-images.githubusercontent.com/8604205/109385246-25b9f380-78fb-11eb-8e82-d8a561deba21.png

PR Close #41051
2021-03-09 08:52:51 -08:00
..
cli docs: update boolean and enumerated CLI section (#40224) 2020-12-23 09:51:29 -08:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
errors fix(docs-infra): use relative URLs for internal links on error pages (#40881) 2021-02-19 09:14:59 -08:00
examples docs: fix some typos in angular.io examples (#41093) 2021-03-05 15:08:11 -08:00
guide docs: fix indentation of code snippets in the "Cheat sheet" guide (#41051) 2021-03-09 08:52:51 -08:00
images docs: remove augury resource (#41107) 2021-03-08 10:00:13 -08:00
marketing docs: remove augury resource (#41107) 2021-03-08 10:00:13 -08:00
start docs: remove unnecessary `<hr />` tags in Getting Started sections (#40693) 2021-02-16 08:00:42 -08:00
tutorial docs: improve accessibility of toh2 example (#40575) 2021-02-23 10:41:05 -08:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md docs: update year (#40925) 2021-02-22 12:37:40 -08:00
navigation.json docs: improve accessibility of toh-pt5 example (#40632) 2021-02-23 10:39:13 -08:00