zaagan
9/24/2017 - 12:04 PM

Markdown

Sources to Learn Writing Markdowns #markdown #github

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

Tables

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

Javascript

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

Python

def foo(): if not bar: return True

SHA references

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

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

Issue references within a repository #1 mojombo#1 mojombo/github-flavored-markdown#1

Inline Code

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

Writing a Header Tag

This is an

tag

This is an

tag

This is an
tag

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