Skip to content

Best way to add mailto address or URL to author field in an html doc #540

Answered by cderv
AlexMcClung asked this question in Q&A
Discussion options

You must be logged in to vote

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

What is the best way to add a clickable URL or mailto link in the author field in YAML

You need to add <url> for this which is the syntax for url

author: My Office Name^[<[email protected]>]

This is the expected syntax for links (https://pandoc.org/MANUAL.html#automatic-links)

Otherwise you need to explicitly activate the extensions autolink_bare_uri

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@AlexMcClung
Comment options

@cderv
Comment options

cderv Apr 6, 2022
Maintainer

@dragonstyle
Comment options

@dragonstyle
Comment options

Answer selected by AlexMcClung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants