mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: include source code styling section in docs style guide (#42227)
Include a source code styling section in the style guide for docs, indicating to follow the Angular style guide where possible and defining hexidecimal style guidance. Closes #23691 PR Close #42227
This commit is contained in:
parent
22177632c6
commit
5db69976c8
1 changed files with 7 additions and 0 deletions
|
|
@ -727,6 +727,13 @@ Remember to exclude these files from StackBlitz by listing them in the `stackbli
|
|||
|
||||
<code-example path="docs-style-guide/stackblitz.json" header="stackblitz.json"></code-example>
|
||||
|
||||
### Source code styling
|
||||
|
||||
Source code should follow [Angular's style guide](guide/styleguide) where possible.
|
||||
|
||||
#### Hexadecimals
|
||||
|
||||
Hexadecimal should use the shorthand where possible, and use only lowercase letters.
|
||||
|
||||
{@a live-examples}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue