@trystal/draftjs
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i @trystal/draftjs

Weekly Downloads

0

Version

1.1.4

License

ISC

Last publish

Collaborators

  • trystal