libtwee

libtwee Documentation

Welcome to the libtwee documentation! This library provides comprehensive support for parsing and compiling current and historic Twine file formats.

What is libtwee?

libtwee is a C# library designed to work with the Twine ecosystem, supporting:

Quick Navigation

Getting Started

Learn how to install and start using libtwee in your projects.

Examples

Practical examples showing common usage patterns.

API Reference

Complete API documentation for all classes and methods.

File Format Guide

Understanding the different Twine file formats supported by libtwee.

Key Features

Installation

dotnet add package Videlais.libtwee

Quick Example

using libtwee;

// Parse a Twee story
var story = Twee.Parse(tweeContent);

// Convert to HTML
var html = story.ToTwine2HTML();

// Generate IFID
var ifid = Babel.GenerateTwineIFID();