razon
January 11, 2023, 1:15pm
1
Hi, I want to access the following configuration in templates to
Print a warning message if users haven’t configured yet or wrong configuration was set up.
And turn off features relies on those parameters.
markup:
highlight:
noClasses: false
lineNos: true
lineNumbersInTable: false
bep
January 11, 2023, 1:39pm
3
And the main reason it that exposing configuration makes it become part of the API which makes it much harder if we need to change things (rename, move).
1 Like
razon
January 11, 2023, 1:48pm
4
I see, I’ll use a well-written documentation instead of checking it in templates. Thanks for your quick response.
system
Closed
January 13, 2023, 1:48pm
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.