The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
grafana/contribute/documentation/documentation-markdown-guid...

153 lines
4.0 KiB

Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
# Markdown style guide
This guide for Markdown style helps keep contributions consistent across all documentation created for Grafana products. Refer to the guide and update its sections as needed when a Subject Matter Expert answers a question on Markdown style, or a decision is made about how to apply Markdown.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Headers
In Markdown, the number of "#" symbols creates different heading levels, similar to HTML heading levels:
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
**Example**
- \# is \<h1>.
- \#\# is \<h2>.
- \#\#\# is \<h3>.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
Start your document with a single `#` for the title of the page. Add the sub-headings with two `##`.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Bold and emphasis
- Make text **bold** using two asterisks.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
**Example:** It is `**important**` to use GitHub-flavored Markdown emoji consistently.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
- Make text `_emphasized_` using single ` _underscores_`. Do not use the single asterisk, it can be easily confused with bold.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
**Example:** GitHub-flavored markdown emoji should _only_ appear in specific cases.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Links and references
Create links to other website by wrapping the display text in square brackets, and the web URL in curved brackets.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
\[text to display](www.website.com)
**Example:** For more information on including emoji in GitHub-flavored markdown, refer to the [webfx page on emoji](https://www.webfx.com/tools/emoji-cheat-sheet/) for a list of emoji.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Block quotes
Include block quotes inside text using right-facing arrows:
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
**Example**
> Any important information
> about emoji can be separated into
> a blockquote.
## Code blocks
Code blocks written with markdown can show off syntax highlighting specific to different languages. Use three back tics to create a code block:
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
```
function testNum(a) {
if (a > 0) {
return "positive";
} else {
return "NOT positive";
}
}
```
Write the name of the language after the first set of back tics, no spaces, to show specific syntax highlighting. For example; "\```javascript" produces the following:
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
```javascript
function testNum(a) {
if (a > 0) {
return 'positive';
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
} else {
return 'NOT positive';
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
}
}
```
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Tables
Construct a table by typing the table headings, and separating them with a "|" character. Then, add a second line of dashes ("-") separated by another "|" character. When constructing the table cells, separate each cell data with another "|".
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
**Example**
Heading one | Heading two
\------------|------------
Cell one data| Cell two data
Will publish as:
| Heading one | Heading two |
| ------------- | ------------- |
| Cell one data | Cell two data |
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Lists
### Numbered lists
To avoid inconsistent list numbering, use repetitive list numbering:
\1. First
\1. Second
\1. Third
The list above will always display as:
1. First
2. Second
3. Third
### Unordered lists
Build a list of points - an unordered or unnumbered list - by using "\-" (hyphen) characters.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
**Example**
- First
- Another item
- The last list item
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Images
_Do not_ use image shortcodes at this time.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
Include images in a document using the following syntax:
```
![Alt text](link to image, starting with /static/img/docs/ if it is to an internal image "Title of image in sentence case")
```
> **Note:** Alt text does not appear when the user hovers the mouse over the image, but title text does.
**Examples:**
- \!\[Grafana logo](/link/to/grafanalogo/logo.png "Grafana logo")
- \!\[Example](/static/img/docs/folder_name/alert_test_rule.png "Example title")
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
This follows the format of "!", alt text wrapped in "[]" and the link URL wrapped in "()".
You can also use HTML such as the following:
```
<img src="example.png"
alt="Example image"
style="float: left; margin-right: 5px;" />
```
In most cases, use the markdown syntax rather than the HTML syntax. Only use the HTML if you need to change the image in ways unsupported by Markdown.
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
## Comments
You can include comments that will not appear in published markdown using the following syntax:
Docs: Added a Markdown Style Guide (#22425) * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: Adding a Markdown Style Guide What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users. This PR serves the need to make documentation and READMEs more consistent and maintainable. Which issue(s) this PR fixes: This request fixes the issue grafana#19592 Fixes grafana#19592 Special notes for your reviewer: @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections. * Docs: fixing typos and char repetition Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file. * Docs: Changing content following review of new Markdown Style Guide - adjustment to headings to sentence case. - adding an introduction - removing punctuation content - making suggested word and punctuation fixes Fixes #19592
5 years ago
\[comment]: <> (Comment text to display)
The word "comment" wrapped in "[]" followed by a ":", a space, "<>", and then the comment itself wrapped in "()".