visit
1. Simplicity and Readability: Markdown uses a straightforward syntax using plain text characters. This simplicity makes it easy to learn and use, allowing you to focus on the content itself rather than complex formatting codes.
2. Platform Independence: Markdown is platform-independent. You can create Markdown documents on any device using a text editor or a code editor, and these documents can be easily viewed and converted into various formats on different platforms. This consistency ensures your content's accessibility and longevity.
3. Quick Learning Curve: Markdown has one of the easiest syntaxes. This means you can learn it in a short amount of time. The syntax is intuitive, resembling the formatting you might already use in emails or text messages.
4. Wide Adoption: Markdown has gained immense popularity and is supported across a multitude of platforms, including blogging systems like WordPress, collaboration tools like GitHub, and content management systems. This makes Markdown a valuable skill that can be applied in many contexts.
5. Speed and Efficiency: Creating content in Markdown is fast and efficient. With a few simple characters and other formatting elements. This, in return, allows its users to craft documents with simplicity, efficiency, and speed.
6. Version Control: When using Markdown in collaboration with version control systems like Git, changes made to Markdown files are easy to track. This makes it simpler to collaborate on projects, review changes, and maintain a clear record of edits.
Firstly, in your VS Code, create a folder (You can name it whatever you want). In that folder, create a file called markdown.md
Headers: Headers are used to indicate different levels of Heading in your document. To create Headers in Markdown, use the #
symbol followed by a space then your Header text. Note that the number of #
symbols determines the levels of your Heading. See the example below.
# Heading
## Heading
### Heading
2. Emphasis: You can add emphasis to your text by making it bold or italic. To make text bold, enclose it in double asterisks **
or double underscores __
. To make the text italic, enclose it in single asterisks *
or single underscores _
.
This is the **Bold Text**
This is *italics*
3. Lists: Markdown supports both ordered (numbered) and unordered (bulleted) lists. To create an ordered list, start each item with a number followed by a period. To create an unordered list, use either an asterisk *
, plus +
, or hyphens -
.
Ordered List:
1. First item
2. Second item
3. Third item
Unordered List:
* Item 1
* Item 2
* Item 3
4. Links: You can create hyperlinks in Markdown using square brackets []
for the link text and parentheses ()
for the link URL.
[Visit Odafe's Website](//www.odafe.vercel.app)
5. Images: Inserting images is similar to creating links; the only difference is an exclamation mark !
in front of the square brackets. The alt text in the square brackets is used to describe the image for accessibility.
![Alt text](image-url.jpg)
6. Blockquotes: Blockquotes are used to display quote texts. To create this simply start the line with the >
symbol followed by the text you want to be quoted.
> This is a quote by Odafe
This is a quote by Odafe
7. Horizontal Rule: You can add horizontal separators by simply using three underscores _
.
This is a regular text
____
This is more regular text
These are the foundational elements of basic formatting in Markdown. By mastering these concepts, you'll be able to create well-structured and visually appealing content, whether you're writing a simple note or crafting a more complex document.
1. Code Blocks and Inline Code: You can easily add code blocks to your file by starting your code blocks with three backticks (```) followed by the language your code block is written in. Inline codes are added by wrapping the code snippet in single backticks.
This is a HTML element `<div>Hello World</div>`
```javascript
function myFunction() {
console.log("Hello world!")
}
2. Task Lists: Task lists are useful for creating to-do lists. To create a task list, use square brackets with an "x" for completed tasks and a space for incomplete tasks.
- [x] A complete task
- [ ] An incomplete task
3. Emojis: There are two ways to add emoji to Markdown files: copy and paste the emoji into your Markdown-formatted text or type .
4. Strikethrough Text: To strike through text, use double tildes (~~
) around the text you want to strikethrough.
This is a ~~Strikethrough~~ text.
5. Escape Characters: If you need to display characters that have special meaning in Markdown, you can escape them using a backslash (\
).
To display a literal asterisk \* use a backslash before it.
6. Superscript and Subscript: To create a superscript, the superscript text is wrapped in two ^
symbols.
To create subscript text, the text is wrapped in two ~
symbols.
This is how a superscript is written: X^2^
This is how a subscript is written: H~2~O.
7. Tables: To create tables in Markdown, follow these steps:
|
).|
).---
) to create column headers. | Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
8. Highlight: You can highlight Important words in your document by using two equals signs (==
) before and after the word(s).
This highlighted word is ==Bee==
9. Footnotes: Footnotes are a way of adding notes and references at the end of your document without cluttering the main body. To create a footnote reference, add a caret symbol (^
) and a unique identifier (usually numbers or words) inside brackets ([^1]
).
This is an example sentence with a footnote[^1].
[^1]: This is the content of the footnote.
You can learn more about advanced formatting in Markdown
Also published