Welcome to the libtwee documentation! This library provides comprehensive support for parsing and compiling current and historic Twine file formats.
libtwee is a C# library designed to work with the Twine ecosystem, supporting:
Learn how to install and start using libtwee in your projects.
Practical examples showing common usage patterns.
Complete API documentation for all classes and methods.
Understanding the different Twine file formats supported by libtwee.
dotnet add package Videlais.libtwee
using libtwee;
// Parse a Twee story
var story = Twee.Parse(tweeContent);
// Convert to HTML
var html = story.ToTwine2HTML();
// Generate IFID
var ifid = Babel.GenerateTwineIFID();