@trystal/trist-text

Tools for converting raw text into trists for use in Trystal.Net and other products.


Keywords
trystal, linelo, algorithms
License
ISC
Install
npm install @trystal/trist-text@1.1.3

Documentation

Trist Text

Site | Docs | Wiki | Code of Conduct | Twitter | Chat

Trist Text?

This is a library of tools for converting plain text documents into the 'trist' format used by Trystal and other products.

This initial release is fairly crude -- it does a bit of analysis on the text to find leading spaces or tabs and uses those to set the identation levels for each line.

It also imposes an ~25 child limit per line in order to prevent massively flat structures which would defeat the purpose of using trists and bog down the browser client for trystal.net.