https://github.com/discretetom/vscode-ift-highlighter
VSCode extension for syntax highlighting of interactive fiction text file(IFT).
https://github.com/discretetom/vscode-ift-highlighter
Last synced: about 2 months ago
JSON representation
VSCode extension for syntax highlighting of interactive fiction text file(IFT).
- Host: GitHub
- URL: https://github.com/discretetom/vscode-ift-highlighter
- Owner: DiscreteTom
- License: mit
- Created: 2019-05-19T05:30:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T05:11:12.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T06:38:57.733Z (4 months ago)
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ift-highlighter
Highlighter for IFT file(interactive fiction text).
## Usage
IFT is a kind of file based on XML, its a part of [if-maker](https://github.com/DiscreteTom/if-maker).
This extension provide code snippets and syntax highlighting for IFT file.
## IFT file format
Though IFT is based on XML, you don't have to write `` and root element, if-maker will add it for you.
```xml
#include file1.ift file2.iftstory text here
conditional story text here
repeat story text here
{{ value reference here }}
python code here
variable-name```
`#include` field can include other IFT files in current file. IFT file name can not contain spaces.