Skip to content

Globally Configurable Directives

Choose a tag to compare

@mylesj mylesj released this 14 Sep 06:08
· 14 commits to main since this release
2acb513

Exposes the capability to apply a global configuration on the window.$docsify object which can be prepended to all nomnoml content rendered on the page/s. e.g. specified as.

window.$docsify = {
    nomnoml: {
        directives: {
            fontSize: 14,
            arrowSize: 1.5,
            // ... etc.
        }
    }
}