How to get site's markup configuration in template

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

It’s not possible.

1 Like

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

I see, I’ll use a well-written documentation instead of checking it in templates. Thanks for your quick response.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.