Reference Variables in Code Snippets
Posted: Thu Jun 20, 2024 3:34 am
Hi everyone,
I am fairly new to Flare and I am currently working on some codeSnippets in our documentation. I was wondering, if (and how) I can use variables in a codeSnippet? I have about 20 code examples providing a path that uses a version number which is changing every few releases. The version number is a variable and i want to use this in the code snippets, so that i don't have to upgrade the content manually every other releases.
Can anyone help me?
Thanks in advance
I am fairly new to Flare and I am currently working on some codeSnippets in our documentation. I was wondering, if (and how) I can use variables in a codeSnippet? I have about 20 code examples providing a path that uses a version number which is changing every few releases. The version number is a variable and i want to use this in the code snippets, so that i don't have to upgrade the content manually every other releases.
Can anyone help me?
Thanks in advance