Skip to main content
bookdown
Authoring Books and Technical Documents with R Markdown
Yihui Xie
Contents
Index
Search Book
close
Search Results:
No results.
Dark Mode
Prev
Up
Next
\(\require{cancel} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \definecolor{fillinmathshade}{gray}{0.9} \newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}} \)
Front Matter
Preface
Why read this book
Structure of the book
Software information and conventions
Acknowledgments
Note on This PreTeXt Edition
About the Author
1
Introduction
1.1
Motivation
1.2
Get started
1.3
Usage
1.4
Two rendering approaches
1.5
Some tips
2
Components
2.1
Markdown syntax
2.1.1
Inline formatting
2.1.2
Block-level elements
2.1.3
Math expressions
2.2
Markdown extensions by bookdown
2.2.1
Number and reference equations
2.2.2
Theorems and proofs
2.2.2.1
A note on the old syntax
2.2.3
Special headers
2.2.4
Text references
2.3
R code
2.4
Figures
2.5
Tables
2.6
Cross-references
2.7
Custom blocks
2.8
Citations
2.9
Index
2.9.1
Inserting Entries
2.9.2
Building the Index
2.10
HTML widgets
2.11
Web pages and Shiny apps
3
Output Formats
3.1
HTML
3.1.1
GitBook style
3.1.2
Three-column Bootstrap style
3.1.2.1
Writing a bs4_book
3.1.2.2
Styling & customization
3.1.2.3
Callout blocks
3.1.2.4
HTML metadata
3.1.2.5
Inline Footnotes
3.1.2.6
References/Bibliography
3.1.2.7
Specifying the repository
3.1.3
The default Bootstrap style
3.1.4
Tufte style
3.2
LaTeX/PDF
3.3
E-Books
3.3.1
EPUB
3.3.2
MOBI
3.4
A single document
4
Customization
4.1
YAML options
4.2
Theming
4.3
Templates
4.4
Configuration
4.5
Internationalization
5
Editing
5.1
Build the book
5.2
Preview a chapter
5.3
Serve the book
5.4
RStudio IDE
5.5
Collaboration
6
Publishing
6.1
RStudio Connect
6.2
Netlify Drop
6.2.1
The build-and-deploy pipeline sequence
6.2.2
Before you begin
6.2.3
Build your book
6.2.4
Deploy your site
6.2.5
Optional: Update your site
6.2.6
Optional: change the default subdomain
6.2.7
Drawbacks and alternatives
6.3
GitHub
6.4
Features for HTML publishing
6.4.1
HTML 404 pages
6.4.2
Metadata for sharing
6.5
Publishers
Back Matter
A
Software Tools
A.1
R and R packages
A.2
Pandoc
A.3
LaTeX
B
Software Usage
B.1
knitr
B.2
R Markdown
C
FAQ
References
Index
Appendix
A
Software Tools
For those who are not familiar with software packages required for using R Markdown, we give a brief introduction to the installation and maintenance of these packages.
🔗
A.1
R and R packages
A.2
Pandoc
A.3
LaTeX
🔗