irosyadi chronoblog
January 1, 2021
Markdown cheatsheet for this chronoblog.
Markdown
This post is a markdown
file and you can do everything in it that allows you to do markdown.
Headers
# This is an <h1> tag## This is an <h2> tag###### This is an <h6> tag
This is an <h1>
tag
This is an <h2>
tag
This is an <h6>
tag
Emphasis
_This text will be italic_**This text will be bold**
This text will be italic
This text will be bold
Lists
- Item 1- Item 2- Item 2a- Item 2b
- Item 1
- Item 2
- Item 2a
- Item 2b
Images
![image-in-post](./image-in-post.jpg)
Links
[github.com/Chronoblog/gatsby-theme-chronoblog](https://github.com/Chronoblog/gatsby-theme-chronoblog)
github.com/Chronoblog/gatsby-theme-chronoblog
Blockquotes
As Kanye West said:> We're living the future so> the present is our past.
As Kanye West said:
We're living the future so the present is our past.
Inline code
js:
const someFun = (text) => {console.log('some ' + text);};someFun('text');
css:
.thing {font-size: 16px;width: 100%;}@media screen and (min-width: 40em) {font-size: 20px;width: 50%;}@media screen and (min-width: 52em) {font-size: 24px;}
jsx:
<Thing fontSize={[16, 20, 24]} width={[1, 1 / 2]} />
What distinguishes Markdown from many other lightweight markup syntaxes, which are often easier to write, is its readability.