Docsify plugin that load variables from external xml file
npm install docsify-variables1. insert script into docsify document
```
2. add a variablesFile property to docsify config
```
window.$docsify = {
variablesFile : 'variables.xml'
}
to reference a value in an xml file you can use:
- fully qualified path to the tag. eg.: ${var.foo}
- or an XPath expression. eg.: ${/var/foo} or ${//item[2]}
to reference a value in a json file you can use:
- fully qualified path to the value. eg.: ${var.foo}
- or an XPath expression. eg.: ${/var/foo} or ${//item[2]}