Skip to content

Releases: mylesj/docsify-nomnoml

Initial feature set complete

18 Sep 11:16
01e9046

Choose a tag to compare

Theming Support

17 Sep 20:57
73a3e77

Choose a tag to compare

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

14 Sep 06:08
2acb513

Choose a tag to compare

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

13 Sep 20:36
908ddfe

Choose a tag to compare

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

13 Sep 20:33
9230ba9

Choose a tag to compare

A bare bones plugin connecting docsify and nomnoml.