frontispiece / packages / ink-utils / test / data / metadata-on-knots.ink
metadata-on-knots.ink
Raw
This is a story with a few knots.

-> knot1

=== knot1
# TAG: 1
# JSON: 2

Each knot has some metadata, so we can emit an event when it changes (how?) or use it to change other things.

-> knot2

=== knot2
# TAG: 3

There should be a way to figure out, given the _current_ story state, what the metadata is.

->knot3

=== knot3
# STRINGS: "should also work"
# meta doesn't know what to do with this tag so it'll dump it into the _ bucket

Hopefully this is valid!

->END