# Angular documentation style guide This style guide covers the standards for writing [Angular documentation on angular.io](https://angular.io/docs). These standards ensure consistency in writing style, Markdown conventions, and code snippets. ## Prerequisites Before contributing to the Angular documentation, it is helpful if you are familiar with the following: * `git`: for an introduction, see GitHub's [Git Handbook](https://guides.github.com/introduction/git-handbook/) * `GitHub`: for an introduction, see GitHub's [Hello World](https://guides.github.com/activities/hello-world/) * Markdown: see GitHub's [Mastering Markdown](https://guides.github.com/features/mastering-markdown/) * Angular coding style: see the [Angular Style Guide](guide/styleguide "Angular Application Code Style Guide") * Google writing style: The [Google Developer Documentation Style Guide](https://developers.google.com/style/) is a comprehensive resource that this Angular documentation style guide builds upon. ## Kinds of Angular documentation The categories of Angular documentation include: * [Guides](docs): much of what's in the [documentation section of angular.io](docs). Guides walk the reader step-by-step through tasks to demonstrate concepts and are often accompanied by a working example. These include [Getting Started](start), [Tour of Heroes](tutorial), and pages about [Forms](guide/forms-overview), [Dependency Injection](guide/dependency-injection), and [HttpClient](guide/http). Contributing members of the community and Angular team members maintain this documentation in [Markdown](https://daringfireball.net/projects/markdown/syntax "Markdown"). * [API documentation](api): reference documents for the [Angular Application Programming Interface, or API](api). These are more succinct than guides and serve as a reference for Angular features. They are especially helpful for people already acquainted with Angular concepts. The [angular.io](https://angular.io/) infrastructure generates these documents from source code and comments that contributors edit. * [CLI documentation](cli): the [angular.io](https://angular.io/) infrastructure generates these documents from CLI source code. ## Markdown and HTML While the Angular guides are [Markdown](https://daringfireball.net/projects/markdown/syntax "Markdown") files, there are some sections within the guides that use HTML.
item
property is `true`.
* Add the component class name to the `declarations` array.
```
### Auto-linking in code snippets
In certain cases, when you apply backticks around a term, it may auto-link to the API documentation.
If you do not intend the term to be a link, use the following syntax:
```html
The item
property is `true`.
```
### Hard-coded snippets
Ideally, you should source code snippets [from working sample code](#from-code-samples), though there are times when an inline snippet is necessary.
For terminal input and output, place the content between `