Comments (3)
If you want to change the size of individual lines of text, you will have to delve into some custom HTML. Here are some examples based on this Stackoverflow question:
---
title: "Untitled"
output: ioslides_presentation
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## Font Sizes
- Standard font
- <span style="color:red">Change the font colour</span>
- <font size="1">This is some text size 1!</font>
- <font size="1">This is some text size 1!</font>
- <font size="2">This is some text size 2!</font>
- <font size="3">This is some text size 3!</font>
- <font size="4">This is some text size 4!</font>
- <font size="5">This is some text size 5!</font>
Hope that helps!
As a tip, Stackoverflow is a good place if you are looking for general guidance. GitHub issues are less monitored, and are better used if there is a suspected bug or issue with the package or software. You may also consider https://community.rstudio.com for questions.
from rmarkdown-book.
Thanks, @mikey-harper True, I hadn't tried HTML tags yet. I was looking for Markdown-based shortcuts and skipped checking out the most obvious option!
from rmarkdown-book.
Markdown by design only allows a limited amount of formatting. But its power comes from this simplicity :)
The cheatsheet sets out pretty much all the built-in formatting: http://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf .
from rmarkdown-book.
Related Issues (20)
- GHA build requires Palatino font to be installed HOT 4
- Typo collection HOT 1
- Update Ch16.2 to sigma.js v2 HOT 2
- Error building the book. HOT 2
- Build rmarkdown-book to PDF fail because of HTML inserting HOT 1
- Problem publishing
- Typo in Chapter 2 HOT 3
- Broken link in Section 15.4 HOT 2
- Does the author have right to publish the book again after accepting pull requests? HOT 3
- Custom macros? Not a widget, but a macro HOT 3
- New slide in Xaringan HOT 4
- Automatic deployment of the book HOT 3
- Add documentation for sxss knitr engine HOT 1
- Move Lua filter vignettes from rmarkdown into a book chapter
- Update new feature of SQL engine with params
- Update `md_document()` part as the function has evolved in rmarkdown 2.10
- Document your own solution using linguist-detectable to show R Markdown in Linguist GitHub repo language statistics
- Update powerpoint format section following new stuff in Pandoc
- Add mention of Beamer YAML variable
- Switch from master to main HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmarkdown-book.