-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added formatting directory and files
- Loading branch information
Showing
70 changed files
with
1,466 additions
and
12,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
--- | ||
title: Basic-Markdown-Syntax | ||
slug: basic-syntax | ||
date: 2024-08-11 09:09:46 | ||
update: 2024-08-11 10:48:00 | ||
publish: "true" | ||
tags: | ||
- Formatting/Markdown/Basic-Syntax | ||
categories: | ||
--- | ||
**SOURCE** - [Markdown Cheat Sheet | Markdown Guide](https://www.markdownguide.org/cheat-sheet/) | ||
|
||
## Basic Syntax | ||
|
||
These are the elements outlined in John Gruber's original design document. All Markdown applications support these elements. | ||
|
||
### Headings | ||
|
||
```markdown | ||
# H1 | ||
## H2 | ||
### H3 | ||
``` | ||
|
||
### Bold | ||
|
||
```markdown | ||
**bold text** | ||
``` | ||
|
||
**bold text** | ||
|
||
### Italic | ||
|
||
```markdown | ||
*italicized text* | ||
``` | ||
|
||
*italicized text* | ||
|
||
### Blockquote | ||
|
||
```markdown | ||
> blockquote | ||
``` | ||
|
||
> blockquote | ||
### Ordered List | ||
|
||
```markdown | ||
1. First item | ||
2. Second item | ||
3. Third item | ||
``` | ||
|
||
1. First item | ||
2. Second item | ||
3. Third item | ||
|
||
### Unordered List | ||
|
||
```markdown | ||
- First item | ||
- Second item | ||
- Third item | ||
``` | ||
|
||
- First item | ||
- Second item | ||
- Third item | ||
|
||
### Code | ||
|
||
```markdown | ||
`code` | ||
``` | ||
|
||
`code` | ||
|
||
### Horizontal Rule | ||
|
||
```markdown | ||
--- | ||
``` | ||
|
||
--- | ||
|
||
### Link | ||
|
||
```markdown | ||
[Markdown Guide](https://www.markdownguide.org) | ||
``` | ||
|
||
[Markdown Guide](https://www/markdownguide.org) | ||
|
||
### Image | ||
|
||
```markdown | ||
 | ||
``` | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
--- | ||
title: Extended-Syntax | ||
slug: extended-syntax | ||
date: 2024-08-11 09:32:57 | ||
update: 2024-08-11 10:22:28 | ||
publish: "true" | ||
tags: | ||
- Formatting/Markdown/Extended-Syntax | ||
categories: | ||
--- | ||
**SOURCE** - [Markdown Cheat Sheet | Markdown Guide](https://www.markdownguide.org/cheat-sheet/) | ||
|
||
## Extended Syntax | ||
|
||
These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements. | ||
|
||
### Table | ||
|
||
```markdown | ||
| Syntax | Description | | ||
| --------- | ----------- | | ||
| Header | Title | | ||
| Paragraph | Text | | ||
| | | | ||
``` | ||
|
||
| Syntax | Description | | ||
| --------- | ----------- | | ||
| Header | Title | | ||
| Paragraph | Text | | ||
| | | | ||
|
||
### Fenced Code Block | ||
|
||
``` | ||
{ | ||
"firstName": "John", | ||
"lastName": "Smith", | ||
"age": 25 | ||
} | ||
``` | ||
|
||
{ | ||
"firstName": "John", | ||
"lastName": "Smith", | ||
"age": 25 | ||
} | ||
|
||
### Footnote | ||
|
||
```markdown | ||
Here's a sentence with a footnote. [^1] | ||
|
||
[^1]: This is the footnote. | ||
``` | ||
|
||
### Heading ID | ||
|
||
```markdown | ||
### My Great Heading {#custom-id} | ||
``` | ||
|
||
### Definition List | ||
|
||
```markdown | ||
term | ||
: definition | ||
``` | ||
|
||
### Strikethrough | ||
|
||
```markdown | ||
~~The world is flat.~~ | ||
``` | ||
|
||
~~The world is flat.~~ | ||
|
||
### Task List | ||
|
||
```markdown | ||
- [x] Write the press release | ||
- [ ] Update the website | ||
- [ ] Contact the media | ||
``` | ||
|
||
- [x] Write the press release | ||
- [ ] Update the website | ||
- [ ] Contact the media | ||
|
||
### Emoji | ||
|
||
```markdown | ||
That is so funny! :joy: | ||
``` | ||
|
||
That is so funny! :joy: | ||
(See also [Copying and Pasting Emoji](https://www.markdownguide.org/extended-syntax/#copying-and-pasting-emoji)) | ||
|
||
### Highlight | ||
|
||
```markdown | ||
I need to highlight these ==very important words==. | ||
``` | ||
|
||
I need to highlight these ==very important words==. | ||
|
||
### Subscript | ||
|
||
```markdown | ||
H~2~O | ||
``` | ||
|
||
H~2~O | ||
|
||
### Superscript | ||
|
||
```markdown | ||
X^2^ | ||
``` | ||
|
||
X^2^ |
Oops, something went wrong.