An open API service indexing awesome lists of open source software.

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).

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.ift

story 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.