Hi
I am using the xaringan package to create slides. I would like to display code chunks using different font sizes on different slides. For the purpose of illustration, I just created a 1-slide code.
---
title: "Size code area"
subtitle: "Because why not"
author: "Mouh"
date: "`r Sys.Date()`"
output:
xaringan::moon_reader:
nature:
highlightStyle: github
highlightLines: true
ratio: "16:9"
seal: false
---
'''
Some code that I would like to see in HUGE character
'''
'''
Some code that I would like to see in tiny characters
'''
(Sorry, I used ' instead of ` because I don't know how to properly insert a markdown in the post editor)
Please, note that, for my real slide deck, I am importing a custom css file which contains among other things:
.remark-slide-content {
font-size: 28px;
padding: 20px 80px 20px 80px;
}
.remark-code, .remark-inline-code {
background: #f0f0f0;
}
.remark-code {
font-size: 24px;
}
.huge {
font-size: 200%;
}
.tiny {
font-size: 50%;
}
Enclosing my code chunks in .huge and .tiny don't see to do much.
Any ides would be greatly appreciated?