Releases: mylesj/docsify-nomnoml
Releases · mylesj/docsify-nomnoml
Initial feature set complete
Theming Support
Automatically attempt to match the current page styling - can be diabled by setting autotheme to false in the config.
Otherwise exposes overridable CSS classes:
:root {
--nomnoml-svg-stroke: <color>;
--nomnoml-svg-fill-1: <color>;
--nomnoml-svg-fill-2: <color>;
}Globally Configurable Directives
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.
}
}
}Configurable SVG Attributes
Adds attribute support to the render directive, supporting: title, class, width, height
e.g.
```noml render width=100 height=50 class=css-name title="my title"
[Foo]->[Bar]
```
Render Nomnoml Syntax
A bare bones plugin connecting docsify and nomnoml.