I'm hoping to create a snippet that functions as a template, where text in the topic fills the gaps. Examples:
Download the %version version from %here.
The black bold text would be static while the dynamic %text would need to be replaced in the topic editor.
The snippet could later be modified to
The %version version can be downloaded %here.
With a single edit on the snippet, all topics would get the new static text without disturbing the dynamic text in each topic.
If I could ensure that a snippet is not wrapped at build time with markup, I could do something like this:
Code: Select all
<para><snippet src="file::text1.xml" inline="true"/>text1<snippet src="file::text2.xml" inline="true"/>text2<snippet src="file::text3.xml" inline="true"/></para>
I've read threads about dynamic text, user-defined variables, dynamic content generation with external code, etc. I can use whatever best practice is currently recommended - I just don't know what that is now.
BTW, we're running 126.96.36.19952