Markdown is a markup language used widely online. R Markdown is a particular flavor of Markdown. Throughout this course, explore ways that R Markdown provides the ability to combine R—and other code—into documents.
- [Male Narrator] Markdown is a markup language. It's an extremely simple markup language, which is what has made it incredibly popular on the Web and in other applications. Markdown is used to format text on GitHub, Reddit, Stack Exchange, Trello, and in R Markdown we use it to format the text in our reports and presentations. Markup languages allow authors to annotate content. And that content could be anything from reports to websites. HTML is the most widely used markup language, and allows me to demonstrate markup effectively. In HTML, content is annotated with tags. For instance, we use the A tag to annotate the text, "Click Here" as a link. Web browsers parse this markup to display the content as a link. And that's probably going to be blue, on most websites. To understand why markdown is so simple and ubiquitous, we need to understand its origins. Markdown was created by John Gruber and Aaron Swartz in 2004, so that John would have a way of quickly marking up blog posts without having to write HTML himself. Markdown was designed so that a human reader could easily parse the content. Let's see an example. Here's a markdown document with the following content. A heading and a sub-heading. There's also an embedded image and some formatted text. Markdown is therefore perfect for writing blog posts, but it's also perfect for pretty much any copy you might want to publish to the Web. It's important to note that Markdown comes in many different flavors. The base ingredients we've just seen are used everywhere. They're usually slight differences between different flavors of Markdown, when formatting code. Some Markdown flavors also support tables, grids, and other fancy features. It very much depends on what flavor Markdown you're using, and in what application.
Author
Released
3/14/2019- What is R Markdown?
- Writing PDF and HTML reports
- Writing HTML presentations
- Setting up LaTeX and BibTeX
- Including R code in R Markdown documents
- Formatting text
- Including code from script files
- Creating slides
- Using ggplot2 charts
- Inserting images and tables
- Creating captions with bookdown
- Customizing styles
- Overriding markdown
- Using htmlwidgets
- Publishing R Markdown HTML
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning the R Tidyverse
with Charlie Joey Hadley3h 50m Intermediate -
Data Visualization in R with ggplot2
with Mike Chapple2h 27m Intermediate
-
Introduction
-
What you should know1m 41s
-
1. What Can You Build with R Markdown?
-
What is Markdown?1m 56s
-
What is R Markdown?2m 24s
-
-
2. Setting Up LaTeX for R Markdown PDF Outputs
-
What are LaTeX and BibTeX?1m 39s
-
-
3. Understanding the Basics of R Markdown Documents
-
Installing R Markdown1m 41s
-
-
4. Preventing Gotchas
-
5. Creating Slides in R Markdown
-
6. Using ggplot2 Charts in R Markdown
-
Globally set figure size4m 13s
-
7. Inserting Images into R Markdown Output
-
8. Inserting Tables into R Markdown Output
-
Markdown tables in .Rmd2m 39s
-
Interactive tables with DT2m 36s
-
9. Captions with bookdown
-
Captions with bookdown4m 14s
-
10. Customizing Styles in R Markdown
-
11. Overriding Markdown in .Rmd
-
Run LaTeX in PDF documents2m 21s
-
Run HTML in R Markdown2m 9s
-
12. htmlwidgets and R Markdown
-
htmlwidgets and R Markdown3m 10s
-
-
13. Publishing R Markdown HTML Content to RPubs.com
-
Conclusion
-
Next steps56s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: What is Markdown?