How do I define global variables and reference them from markdown? #1164
-
For example, I have the beginning of a URL that contains a version number that I would like to be able to update in a single location and use it such as |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Nov 23, 2022
Replies: 2 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
-
Here is a full demo: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a full demo:
https://stackblitz.com/edit/vuepress-markdown-variable?file=docs%2F.vuepress%2Fconfig.ts,docs%2F.vuepress%2Fclient.ts,docs%2Fguide%2FREADME.md