11
Introduction to Markdown Introduction to Markdown Roger D. Peng, Associate Professor of Biostatistics Johns Hopkins Bloomberg School of Public Health

Markdown

  • Upload
    niti860

  • View
    212

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Markdown

Introduction to MarkdownIntroduction to MarkdownRoger D. Peng, Associate Professor of Biostatistics

Johns Hopkins Bloomberg School of Public Health

Page 2: Markdown

What is Markdown?What is Markdown?"Markdown is a text-to-HTML conversion tool for web writers. Markdown

allows you to write using an easy-to-read, easy-to-write plain text format,

then convert it to structurally valid XHTML (or HTML)."

- John Gruber, creator of Markdown

2/11

Page 3: Markdown

Markdown SyntaxMarkdown SyntaxItalics

This text will appear italicized!

*This text will appear italicized!*

3/11

Page 4: Markdown

Markdown SyntaxMarkdown SyntaxBold

This text will appear bold!

**This text will appear bold!**

4/11

Page 5: Markdown

Markdown SyntaxMarkdown SyntaxHeadings

This is a secondary headingThis is a secondary headingThis is a tertiary heading

## This is a secondary heading### This is a tertiary heading

5/11

Page 6: Markdown

Markdown SyntaxMarkdown SyntaxUnordered Lists

- first item in list- second item in list- third item in list

first item in list

second item in list

third item in list

·

·

·

6/11

Page 7: Markdown

Markdown SyntaxMarkdown SyntaxOrdered Lists

1. first item in list2. second item in list3. third item in list

1. first item in list

2. second item in list

3. third item in list

7/11

Page 8: Markdown

Markdown SyntaxMarkdown SyntaxLinks

Johns Hopkins Bloomberg School of Public HealthDownload RRStudio

[Johns Hopkins Bloomberg School of Public Health](http://www.jhsph.edu/)[Download R](http://www.r-project.org/)[RStudio](http://www.rstudio.com/)

8/11

Page 9: Markdown

Markdown SyntaxMarkdown SyntaxAdvanced Linking

I spend so much time reading R bloggers and Simply Statistics!

I spend so much time reading [R bloggers][1] and [Simply Statistics][2]! [1]: http://www.r-bloggers.com/ "R bloggers" [2]: http://simplystatistics.org/ "Simply Statistics"

9/11

Page 10: Markdown

Markdown SyntaxMarkdown SyntaxNewlines

First line Second line

First lineSecond line

Newlines require a double space after the end of a line.·

First lineSecond line

First lineSecond line

10/11

Page 11: Markdown

Markdown ResourcesMarkdown ResourcesThe Offical Markdown Documentation

Github's Markdown Guide

·

·

11/11