Coder Social home page Coder Social logo

darrensem / md Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6 KB

Markdown cheatsheet - combination of the popular ones commonly seen + some ChatGPT responses

Home Page: https://darrensem.github.io/md/

License: MIT License

chatgpt cheatsheet combination commonly markdown popular md reference wysiwyg

md's Introduction

Markdown cheatsheet

MarkDown cheatsheet - my combination of the popular ones commonly seen + some ChatGPT responses

  1. Headers
# This is an <h1> tag
## This is an <h2> tag
### This is an <h3> tag
#### This is an <h4> tag
##### This is an <h5> tag
###### This is an <h6> tag

This is an

tag

This is an

tag

This is an

tag

This is an

tag

This is an
tag
This is an
tag
  1. Emphasis
*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__

_You **can** combine them_

~~Strikethrough~~

Horizontal Rule:
___

This text will be italic This will also be italic

This text will be bold This will also be bold

You can combine them

Strikethrough

Horizontal Rule:


  1. Unordered List
- Item 1
- Item 2
  - Item 2a
...with no line break this continues onto the next line keeping same indent as 2a
  - Item 2b
  -
^ ending with a bare empty bullet item (on level 2)
+ Item 1
+ Item 2
  + Item 2a
...with no line break this continues onto the next line keeping same indent as 2a
  + Item 2b
  +
^ ending with a bare empty bullet item (on level 2)
* Item 1
* Item 2
  * Item 2a
...with no line break this continues onto the next line keeping same indent as 2a
  * Item 2b
  *
^ ending with a bare empty bullet item (on level 2)
  • Item 1
  • Item 2
    • Item 2a ...with no line break this continues onto the next line keeping same indent as 2a
    • Item 2b

^ ending with a bare empty bullet item (on level 2)

  1. Task Lists / TODO / Checkboxes
- [x] Item 1 with filled in checkbox
- [ ] Item 2 empty unchecked
- [ ] Item 3
  - [X] Item 3a with UpperCase 'X' for filled in checkbox
  - [x]
this still continues onto the next line keeping same indent as its parent -- which is just the text `[x]` instead of converting into a checkbox (on level 2)
BUT[x]--with whitespace ON ITS RIGHT SIDE-- in the middle of a line:[x] < will convert to a new checkbox **while omitting all that came before it**
  • Item 1 with filled in checkbox
  • Item 2 empty unchecked
  • Item 3
    • Item 3a with UpperCase 'X' for filled in checkbox
    • this still continues onto the next line keeping same indent as its parent -- which is just the text [x] instead of converting into a checkbox (on level 2) BUT[x]--with whitespace ON ITS RIGHT SIDE-- in the middle of a line:[x] < will convert to a new checkbox while omitting all that came before it
  1. Ordered List
1. Item 1
4. Item 2
2. Item 3
   5. Item 5 under #3 (3 spaces needed, not just 2?)
   7. Item 6 under #3
  1. Item 1

  2. Item 2

  3. Item 3 5. Item 5 under #3 (3 spaces needed, not just 2?) 7. Item 6 under #3

  4. Links

http://github.com - automatic!
[GitHub](http://github.com)
[GitHub](http://github.com "title text too!")

http://github.com - automatic! GitHub GitHub

  1. Images
Format: ![Alt Text](url)
![GitHub Logo](/images/logo.png)

![GitHub Logo](/images/logo.png "title text too -- visible when you hover, different than Alt Text, esp. helpful for a _broken link_ 'image' AKA no image actually shown.")

![alt-text:   pfp for https://github.com/mathiasbynens](https://avatars.githubusercontent.com/u/81942?v=4 "title-hover:   Mathias' pfp")

Format: Alt Text

GitHub Logo

GitHub Logo

alt-text:   pfp for https://github.com/mathiasbynens

  1. Blockquotes
As Kanye West said:

> We're living the future so
> the present is our past.
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.

As Kanye West said:

We're living the future so the present is our past. Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

  1. Inline code
Inline `code` has `back-ticks around` it.

Inline code has back-ticks around it.

  1. Multiline Code
\```js
/* multi-line code
   comment.
*/
var foo = function (bar) {
  return bar++;
};

console.log(foo(5));
\```
/* multi-line code
   comment.
*/
var foo = function (bar) {
  return bar++;
};

console.log(foo(5));
  1. Tables
| Formatting  | Syntax    | Example |
| ----------- | --------- | ------- |
| Italic      | `* *` or `_ _` | *italic*  |
| Bold        | `** **` or `__ __`  | **bold** |

Right aligned columns

| Option | Description (right-aligned) |
| ------:| -----------:|
| data   | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext    | extension to be used for dest files. |
Formatting Syntax Example
Italic * * or _ _ italic
Bold ** ** or __ __ bold

Right aligned columns

Option Description (right-aligned)
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

-END OF LINE.

md's People

Contributors

darrensem avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.