Comments (3)
Original comment by Chris Klimas (Bitbucket: klembot, GitHub: klembot):
No worries!
from snowman.
Original comment by Lee Grey (Bitbucket: leegrey, GitHub: leegrey):
Hi. I figured out how to use print(). Thanks :) I'm honestly a bit confused about where I saw that documentation now. I know there was a zip file called docs.zip, or doc.zip that I thought was part of the repo, but now I can't find it. I'll take another look when I get home. In any case, I think it's safe to ignore this issue. Sorry for the confusion.
from snowman.
Original comment by Chris Klimas (Bitbucket: klembot, GitHub: klembot):
Could you clarify what documentation you're looking at? I checked the jsdoc comments I've put in the code and there doesn't seem to be a mention of a write() or embed() method sticking around.
Side note, you should just be able to use <% print('hi') %> to write to a passage on the fly and <%= story.render('my passage name or id') %> to embed the content of a passage elsewhere.
from snowman.
Related Issues (20)
- `s` Is Not Available in All Contexts HOT 2
- Paragraph tags misplaced for first paragraph in Windows HOT 5
- History navigation is broken after one use HOT 3
- Persistent player statistics HOT 1
- How to open passage from script? HOT 2
- renderAttrs breaks custom elements HOT 1
- Global callbacks on snowman standard events don't work in 2.2.0 HOT 6
- [Proposal] Add support to onclick custom code in links HOT 2
- Dist js file in title case HOT 1
- A lot of `index.html` files in `test/` subfolders after `npm run test` HOT 2
- Story `start` event is triggered after first passage is shown, not before HOT 1
- Error if global javascript contains `<% %>` in comments HOT 1
- Save issues in Snowman 3
- Error if global javascript contains </script> in string or comments
- Documentation as a zip HOT 2
- Fix Jest-Puppeteer testing change HOT 1
- Update Snowman 3.0 Cookbook changes
- Class/ES6 Problem with Snowman 2 HOT 1
- Enable tag-based styling HOT 1
- Add support for story and temporary variables HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowman.