Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to control the font size of quoted text in Markdown

Tags:

markdown

r

The font of quoted text on Markdown is often too large in contrast to the rest of the (unquoted) text. This is an example: enter image description here

generated with RStudio as

#####Intution:

> **[Identification of an MA model is often best done with the ACF rather
> than the PACF]((https://onlinecourses.science.psu.edu/stat510/node/62))**.
> 
> For an MA model, the theoretical PACF does not shut off, but instead
> tapers toward 0 in some manner.  A clearer pattern for an MA model is
> in the ACF.  The ACF will have non-zero autocorrelations only at lags
> involved in the model.
> 
> A moving average term in a time series model is a past error (multiplied by a coefficient).

The $q^{\text{th}}$-order moving average model, denoted by MA(q) is
like image 639
Antoni Parellada Avatar asked May 26 '17 00:05

Antoni Parellada


People also ask

How do you control font size in markdown?

Changing the font sizes in markdown can be done by employing HTML tags and specifying the number for the font. Both the entire text and a specific section of it can have their font size altered.

How do I change font size in markdown Jupyter?

Now use the menu option 'Settings' > “increase Text Editor font size" a few times and it will keep increasing. “markdownCellConfig”:{“fontSize”: changes the markdown editor display as you are editing. Increase it dramatically and then edit your markdown cell.

How do I make the font bigger in R markdown?

To change the font size, you don't need to know a lot of html for this. Open the html output with notepad ++. Control F search for "font-size". You should see a section with font sizes for the headers (h1, h2, h3,...).


1 Answers

As an alternative to external css file you could use css code chunk:

---
title: "Example"
date: "`r Sys.time()`"
output: html_document
---

```{css style settings, echo = FALSE}
blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 14px;
    border-left: 5px solid #eee;
}
```

Now quotes will be as you wish

> example quote (blah blah blah)
like image 93
Marek Avatar answered Oct 26 '22 13:10

Marek