1.1.3 • Published 8 years ago

@trystal/trist-text v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
8 years ago

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.