Hi all,
we're migrating from mkdocs and looking for a similar functionality like the "placeholder" plugin in mkdocs. Basically, you can define a a mask with input fields. User puts the data into these fields (or selects a value through dropdown) and it prints a configuration block where the input is dynamically inserted into specified values.
Let's say this is the mask taking two values:
[Customer]: xyz
[IP Address]: 10.1.2.3
Which then prints a configuration block looking like this:
environment: staging
enabled: false
customer: xyz
ip: 10.1.2.3
supervisor: John Doe
whatever: 123456
In the example above, the mask with two input fields and a configuration block were credated. The values from the mask are rendered into the configuration block. As simple as that. Or a bit more complex usage example in the demo link above.
Couldn't find this use case in any plugins (maybe I was looking for the wrong keywords). And not sure, maybe it can be done with a simple macro or something like this? Any recommendations?
Thanks in advance!