Skip to content

Commit b812b49

Browse files
committed
create missing stub
1 parent d568908 commit b812b49

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

stubs/blog.md.stub

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Basics of Markdown
2+
Markdown is the most popular markup language that can be used to format documents. It can be used to create *websites*,*ebooks*,*email*,*chats in discussions forums*.
3+
4+
## Topics
5+
1. Paragraphs
6+
7+
MD expects a full line space to show texts in a different line else it joins text in the same line.
8+
2. Text decorations
9+
10+
MD can write **bold** texts, ~~italiic~~ *italic* texts
11+
3. Headings
12+
No of #'s represent the type of heading. Github will automatically add id's to headings, so the text will be automatically linked.
13+
## This is h2
14+
### This is h3
15+
4. Links
16+
17+
[My Github](https://github.com/bhupendra1011 "all repos") account.[Bhupendra][1] github repo.
18+
19+
5. Images
20+
Images can be used just like links. ![Alt txt](img url)
21+
22+
!["cat Img"](http://placekitten.com/200/200)
23+
24+
Thumbnails images can also be used which links to larger image
25+
[<img src="http://placekitten.com/20/20">](http://placekitten.com/200/200)
26+
27+
6. Ordered and Unordered Lists
28+
29+
Coding Best Practices:
30+
31+
* Keep code DRY
32+
* Writing Unit Test cases
33+
* Checking cross-browser support
34+
35+
Steps to merge branch:
36+
37+
1. Create a branch from feature
38+
1. commit your changes
39+
1. push your changes
40+
1. raise a pull request
41+
42+
7. Code Blocks
43+
44+
This is super helpful when posting any code snippet
45+
46+
47+
```js
48+
const fn = () => alert("some fn");
49+
```
50+
51+
52+
53+
54+
```css
55+
.hide {
56+
display:none
57+
}
58+
```
59+
60+
61+
Also can show code difference
62+
63+
64+
```diff
65+
var x = 10;
66+
- const counter = 0;
67+
+ let counter = 0
68+
```
69+
70+
71+
72+
8. Tables
73+
74+
Tables can be generated with headings and text alignment option
75+
76+
|Stocks|Price|
77+
|:-----:|------:|
78+
|TCS|230|
79+
|YES Bank|500|
80+
81+
82+
83+
Cool Tips
84+
85+
* [Grammarly](https://marketplace.visualstudio.com/items?itemName=znck.grammarly) extension can eliminate typo and grammar mistakes
86+
* [ScreenTOGif](https://www.screentogif.com/) to record videos in GIF format
87+
* Upload GIF's to [giphy](https://giphy.com/) to embed them into blog posts.
88+
* [Stackedit](https://stackedit.io/) for Markdown Editing in Browser.
89+
90+
91+
This template was copied from:
92+
[This dev.to post](https://dev.to/bhupendra1011/how-to-write-blog-posts-markdown-4hg8)

0 commit comments

Comments
 (0)