nodebox / seed

Procedural Content Generator
https://seed.emrg.be/
MIT License
22 stars 8 forks source link

Support for importing sketches as namespaces #44

Open stebanos opened 6 years ago

stebanos commented 6 years ago

As a continuation on #5

We should be able to call different functions(?) like sketch.rootor sketch.article on imported sketches. A made up example:

%import -myFakeArticlesSketchURL as gazette

root:
- <html><body><h1>Fake Gazette</h1>{{ gazette.article * 10 }}</body></html>