mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
fixed content extending beyond 80 chars
This commit is contained in:
parent
2f3597efc4
commit
2f772fff3e
@ -7,7 +7,9 @@ filename: markdown.md
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
Markdown was created by John Gruber in 2004. It's meant to be an easy to read and write syntax which converts easily to HTML (and now many other formats as well).
|
Markdown was created by John Gruber in 2004. It's meant to be an easy to read
|
||||||
|
and write syntax which converts easily to HTML (and now many other formats as
|
||||||
|
well).
|
||||||
|
|
||||||
Markdown also varies in implementation from one parser to a next. This
|
Markdown also varies in implementation from one parser to a next. This
|
||||||
guide will attempt to clarify when features are universal or when they are
|
guide will attempt to clarify when features are universal or when they are
|
||||||
@ -28,9 +30,10 @@ specific to a certain parser.
|
|||||||
Markdown is a superset of HTML, so any HTML file is valid Markdown.
|
Markdown is a superset of HTML, so any HTML file is valid Markdown.
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
<!--This means we can use HTML elements in Markdown, such as the comment element,
|
<!--This means we can use HTML elements in Markdown, such as the comment
|
||||||
and they won't be affected by a markdown parser. However, if you create an HTML element
|
element, and they won't be affected by a markdown parser. However, if you
|
||||||
in your markdown file, you cannot use markdown syntax within that element's contents.-->
|
create an HTML element in your markdown file, you cannot use markdown syntax
|
||||||
|
within that element's contents.-->
|
||||||
```
|
```
|
||||||
|
|
||||||
## Headings
|
## Headings
|
||||||
@ -214,8 +217,8 @@ highlighting of the language you specify after the \`\`\`
|
|||||||
|
|
||||||
## Horizontal rule
|
## Horizontal rule
|
||||||
|
|
||||||
Horizontal rules (`<hr/>`) are easily added with three or more asterisks or hyphens,
|
Horizontal rules (`<hr/>`) are easily added with three or more asterisks or
|
||||||
with or without spaces.
|
hyphens, with or without spaces.
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
***
|
***
|
||||||
@ -298,7 +301,8 @@ in italics, so I do this: \*this text surrounded by asterisks\*.
|
|||||||
|
|
||||||
### Keyboard keys
|
### Keyboard keys
|
||||||
|
|
||||||
In GitHub Flavored Markdown, you can use a `<kbd>` tag to represent keyboard keys.
|
In GitHub Flavored Markdown, you can use a `<kbd>` tag to represent keyboard
|
||||||
|
keys.
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
Your computer crashed? Try sending a
|
Your computer crashed? Try sending a
|
||||||
|
Loading…
Reference in New Issue
Block a user