0

This is a slidy_presentation in R, and I want my embedded hyperlink to be red in color instead of black, so that the user knows that the word "help" is clickable.

I have referred to this post to include linkcolor: red, but it doesn't work, I'm not sure why. R markdown link is not formatted blue when knitted to pdf

My code:

---
title: "XXX" 
subtitle: "XXX" 
author: 
- "XXX"
date: "Last updated: `r format(Sys.time(), '%d %B, %Y')`"
output:
  slidy_presentation:
    font_adjustment: -2
    highlight: haddock
    mathjax: "default"
    df_print: paged
citecolor: red 
linkcolor: red
urlcolor: blue
---

Embedded hyperlink code:

[help](https://www.aihw.gov.au/suicide-self-harm-monitoring/research-information/crisis-support) is always available.

R Slidy output: the "help" word does not appear as red color.

enter image description here

Hojiyama
  • 49
  • 8

1 Answers1

1

Figured out the solution for this.

[<span style="color: red">**HELP**</span>](https://www.aihw.gov.au/suicide-self-harm-monitoring/research-information/crisis-support)

Output:

enter image description here

Hojiyama
  • 49
  • 8