Markup.js
Markup.js copied to clipboard
includes can't include nested objects
Hi,
it would be awesome to have nested objects in includes (e.g. namespaces). The current implementation doesn't recognize them:
Mark.includes = {
a: "works",
b: {
does: "not"
}
}
console.log(Mark.up("{{a}} and {{b.does}}"))
// works and ???