Giter VIP home page Giter VIP logo

Comments (3)

dr-harper avatar dr-harper commented on June 30, 2024 5

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.

jananiravi avatar jananiravi commented on June 30, 2024

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.

dr-harper avatar dr-harper commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.