Open rikschennink opened 6 years ago
@rikschennink That's a nice idea. Will think on it.
@rikschennink Also... maybe a way to import libraries like React or jQuery?
@Heydon I think that would certainly be useful for the inline demos
as those might have dependencies.
It would also be nice to be able to specify a custom font and have it automatically loaded and made available (in a way that is not render blocking).
Thanks for building Cupper, it's been a very neat documentation tool so far and it's nice to know that the docs will be accessible as well.
I wanted to add some color, but in order to do so, it seems I have to either duplicate the theme and modify it, or automatically merge the theme styles with my styles and add my styles to the
static/css
directory. The first solution would make it impossible to use the update feature. The second one is a bit cumbersome. It would be nice if I could simply add an additional stylesheet that overrides certain selectors in the Cupper theme stylesheet.Adding a
stylesheets
param to the config would make it possible to add these custom override stylesheets. With a loop in the base templatehead
we could then add those stylesheets to the page.