Skip to content

Instantly share code, notes, and snippets.

@andij
Created March 2, 2012 16:20
Show Gist options
  • Save andij/1959424 to your computer and use it in GitHub Desktop.
Save andij/1959424 to your computer and use it in GitHub Desktop.
Sample Markdown for scriptogram
Date Title Type Slug Tags Excerpt
2012-03-02
Sample Markdown for scriptogram
post
sample-markdown-for-scriptogram
sample, markdown, page, scriptogram
Exerpt Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

The Markdown file which produces this Scriptogram page is maintianed here: https://gist.github.com/1959424

Following are samples of markdown

Taken from http://daringfireball.net/projects/markdown/syntax/

HEADERS

This is an H1

This is an H2

This is an H3

This is an H4

This is an H5
This is an H6

PARAGRAPH

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer erat eros, consequat at vestibulum posuere, congue ut orci. Donec aliquam, neque in lobortis semper, turpis lorem convallis orci, ac eleifend orci orci in erat. Morbi semper ante a ipsum fringilla vulputate.

BLOCKQUOTES

This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.

Nested

This is the first level of quoting.

This is nested blockquote.

Back to the first level.

Containing other elements

This is a header.

  1. This is the first list item.
  2. This is the second list item.

Here's some example code:

return shell_exec("echo $input | $markdown_script");

LISTS

Unordered list

  • Red
  • Green
  • Blue

More content

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

  • Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.

Ordered list

  1. Bird
  2. McHale
  3. Parish

More content

  1. This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

    Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.

  2. Suspendisse id sem consectetuer libero luctus adipiscing.

HORIZONTAL RULE


LINKS

This is an example inline link.

This link has no title attribute.

See my About page for details.

This is an example reference-style link.

EMPHASIS

single asterisks

single underscores

double asterisks

double underscores

unfriggingbelievable

CODE

Use the printf() function.

There is a literal backtick (`) here.

Code block

return shell_exec("echo $input | $markdown_script");	

IMAGES

Orange & Blue

Orange & Blue on Flickr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment