-
This closed issue #1122 seems like what I need. But I cannot figure out how to realize it since VitePress has changed a lot from then on. |
Beta Was this translation helpful? Give feedback.
Answered by
brc-dd
Mar 9, 2024
Replies: 2 comments 1 reply
-
You can access it from |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Octobug
-
e.g. md.renderer.rules.footnote_block_open = (_tks, _idx, _opts, env) => {
const { frontmatter } = env;
const title = frontmatter.footnote || "References";
...
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can access it from
env
parameter in your renderer.