Markdown Cheatsheet 🔗
What is Markdown?🤔
✅Markdown is a markup language just like HTML. We use it to parse text and convert it into a specific format. You can also think of it as a text to HTML converter tool.
Many developers like writing in markdown because it gives them fine-grained control over their text and code. We'll see how and why in the coming paragraphs.
✅Let's create our first markdown file :
To create our first markdown file we just have to create a new file with extension .md
Now let's talk more about the markdown syntax. In this article we will talk about the basic markdown syntax to get you started with markdown. Markdown are really useful as it provide a basic overview of the repository.
✅Syntax of Markdown
As, there are many syntax for markdown, so let's deep dive into few of them: Heading :
To create a heading we can use # symbol followed by space before heading text. We can create heading from heading 1 to 6 using same number of # symbol & for h3 we will use three # symbols that is ### Heading3.
Text Styles :
We can use different text styles. Some of the styles that we can use are bold,italic,strike-through,blockquotes,etc.
Syntax Highlighting:
We can use single backtick ` before and after the code or syntax to highlight it.
Inserting Link syntax :
We can insert a link using below syntax in the markdown file.
Inserting Image syntax :
We can insert image by putting a ! before the square brackets as shows below
syntax: ![alt text](Link for image or source path)
So lets insert image of learncodeonline mascot from a specific url. You can also add it from your local system storage by giving the specified path the file is present.
That's how the image looks :
Thank you for taking your valuable time and reading my blog. I hope this blog gave you a lot of insights and information regarding Markdown. 😊 Feel free to connect with me on Linkedin 😊 #iwritecode