In Observable Framework, Is it possible to access the contents of observablehq.config.js
from within a page?
What part of the configuration do you want to access, and what would you use it for?
I would like to build a general purpose web application, using Observable Framework for the front-end. I would like to be able to pass along environment variables to the front end pages.
I can populate observablehq.config.js:head
with a <script>
tag and put variables there, but I was curious if there was a more appropriate / official mechanism, or if any part of the configuration is available from the pages.