Variables in Snippets
under review
I
Imperial red Canidae
We use snippets for small sets of instructions that are included throughout our documentation. I'd like to be able to include variables such as buttons and field labels within the snippets.
Log In
Karthikeyan J
+ Neon carrot Lark
Karthikeyan J
+ Wisteria Prawn
M
Magnificent Grasshopper
Advanced Ostrich Lexical Canid Straightforward Planarian Imperial red Canidae - We are pleased to provide you with an update regarding this matter, as we are currently evaluating its inclusion in our roadmap.
Specifically, we are exploring the possibility of allowing users to incorporate content reuse elements such as variables and glossary terms within a snippet.
Once these elements are inserted into the snippet, they will be displayed as "variable.variableName" and "glossary.glossaryName" respectively, in a manner consistent with article content.
We welcome any additional feedback or suggestions you may have regarding this request.
S
Straightforward Planarian
Magnificent Grasshopper That sounds exactly what we're looking for, so long as once a variable is updated it also updates within the snippet as it currently does when found in an article.
M
Magnificent Grasshopper
Merged in a post:
Include snippets and variables in snippets
L
Lively Caterpillar
I maintain different tables that are reused in many places as snippets. I also have sections of content saved as snippets that compile those tables, but not always in the same order. It would be very useful to allow snippets to contain other snippets.
S
Straightforward Planarian
Magnificent Grasshopper I'd like to add to this, we use variables for product names too but in not allowing variables within a snippet if a product is changed we have to go into each snippet and manually adjust the name, this can be quite time consuming
L
Lexical Canid
We use variables for product names, company names, and common words with unique spelling. A declaration (translate="no") can be applied to the variable so machine translation will leave it intact. We like that. But we need to be able to use these variables inside our snippets. Otherwise, we will have to manually type the text we have variables for inside snippets. Makes it hard to use snippets consistently.
M
Magnificent Grasshopper
marked this post as
under review
A
Advanced Ostrich
Magnificent Grasshopper: What's the status on this? We really need this feature as well!