Skip to content

Commit

Permalink
Demo a way to re-use a variable over and over (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder authored Oct 9, 2023
1 parent 8aa9703 commit d07b99c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ format:
margin-left: 0
embed-resources: true
page-layout: full
my-custom-stuff:
my-reuseable-variable: "I can use this wherever I want in the markdown, and change it in only once place :)"
---

## Contents
Expand Down Expand Up @@ -99,4 +101,11 @@ Include an image:

::: {style="text-align: center; margin-top: 1em"}
[interoperable Python-based tools for computational neuroanatomy](https://brainglobe.info/index.html){preview-link="true" style="text-align: center"}
:::
:::

## Use a variable several times

Variables defined in the metadata is re-useable anywhere

* {{< meta my-custom-stuff.my-reuseable-variable >}}
* {{< meta my-custom-stuff.my-reuseable-variable >}}

0 comments on commit d07b99c

Please sign in to comment.