Skip to content
Discussion options

You must be logged in to vote

Right now there isn't a cross language way to accomplish this, but you could use the rmarkdown syntax like

---
title: Test 123
---

## this is a test


```{r}
rmarkdown::metadata$title
```

to access document metadata and you could read the _variables.yml file directly in a code chunk as well...

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mcanouil
Comment options

@cscheid
Comment options

Answer selected by Pierre9344
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants