@rohal12/spindle 0.59.33 → 0.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/pkg/format.js +1 -1
- package/dist/pkg/headless.js +99 -49
- package/dist/pkg/story-variables.js +830 -54
- package/dist/pkg/tooling.js +1 -0
- package/package.json +4 -2
- package/src/format/format-passage.ts +626 -0
- package/src/format/placeholders.ts +316 -0
- package/src/format/prettier.ts +62 -0
- package/src/format/segment.ts +126 -0
- package/src/js-lexer.ts +36 -6
- package/src/markup/code-end.ts +97 -41
- package/src/markup/parse.ts +6 -6
- package/src/tooling.ts +23 -1
- package/src/twine-editor/builtin-macros.ts +11 -0
- package/src/twine-editor/commands.ts +173 -0
- package/src/twine-editor/highlight.ts +471 -0
- package/src/twine-editor/icons.ts +35 -0
- package/src/twine-editor/index.ts +19 -0
- package/src/twine-editor/mode.ts +137 -0
- package/src/twine-editor/references.ts +34 -0
- package/src/twine-editor/snippets.ts +74 -0
- package/src/twine-editor/toolbar.ts +85 -0
- package/src/types-drift-check.ts +12 -0
- package/types/tooling.d.ts +68 -0
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@ Full docs at **[rohal12.github.io/spindle](https://rohal12.github.io/spindle/)**
|
|
|
59
59
|
- [Story API](https://rohal12.github.io/spindle/story-api) — The `window.Story` JavaScript API
|
|
60
60
|
- [Widgets](https://rohal12.github.io/spindle/widgets) — Reusable content blocks
|
|
61
61
|
- [npm Package](https://rohal12.github.io/spindle/story-format-packages) — Packaging guide
|
|
62
|
+
- [Twine Editor Extensions](https://rohal12.github.io/spindle/twine-editor) — Highlighting, references and a toolbar in Twine's passage editor
|
|
62
63
|
|
|
63
64
|
## Development
|
|
64
65
|
|