Best way to add mailto address or URL to author field in an html doc #540
-
Hello, What is the best way to add a clickable URL or mailto link in the author field in YAML in an html doc? Probably kludgey, but with Rmd I used to add an email as a footnote with: author:
With quarto html rendered via knitr I get the footnote okay but the author text has the caret and email in brackets. Thanks in advance for your help! And loving Quarto, thanks for all of your work on this!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, With this ---
title: test
author: My Office Name^[[email protected]]
format: html
---
## Content
```{r}
1 + 1
``` I don't see what you are talking about with last dev version, but that is not better We have a double footnote and the hover Do you have an example to run with what you described ? Also I am using last dev version of Quarto
You need to add
This is the expected syntax for links (https://pandoc.org/MANUAL.html#automatic-links) Otherwise you need to explicitly activate the extensions title: test
author: My Office Name^[[email protected]]
format:
html:
from: markdown+autolink_bare_uris This is not a default in Quarto (it is in R Markdown, hence the different behavior) |
Beta Was this translation helpful? Give feedback.
Hi,
With this
I don't see what you are talking about with last dev version, but that is not better
We have a double footnote and the hover
Do you have an example to run with what you described ?
Also I am using last dev version of Quarto
You need to add
<url>
for this which is the syntax for urlThis is the expected syntax for links (https://pandoc.org/MANUAL.html#automatic-links)
Otherwise you need to explicitly activate the extensions
autolink_bare_uri
…