Skip to content

Instantly share code, notes, and snippets.

@zaagan
Last active January 2, 2018 07:13
Show Gist options
  • Save zaagan/3c017592faf692f7a73a9c8ba11f9b40 to your computer and use it in GitHub Desktop.
Save zaagan/3c017592faf692f7a73a9c8ba11f9b40 to your computer and use it in GitHub Desktop.
Sources to Learn Writing Markdowns #markdown #github

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

Writing a Header Tag

This is an

tag

This is an

tag

This is an
tag

Inline Code

I think you should use an <addr> element here instead.

Lists: Unordered

  • Item 1
  • Item 2
    • Item 2a
    • Item 2b

Lists: Ordered

  1. Item 1
  2. Item 2
  3. Item 3
    1. Item 3a
    2. Item 3b

SHA references

16c999e8c71134401a78d4d46435517b2271d6ac mojombo@16c999e8c71134401a78d4d46435517b2271d6ac mojombo/github-flavored-markdown@16c999e8c71134401a78d4d46435517b2271d6ac

Javascript

function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}

Python

def foo(): if not bar: return True

Tables

First Header Second Header
Content from cell 1 Content from cell 2
Content in the first column Content in the second column

Task List

  • @mentions, #refs, links, formatting, and tags supported
  • list syntax required (any unordered or ordered list supported)
  • this is a complete item
  • this is an incomplete item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment