STXT is a Human-First, indentation-based text language for documents and data: no escape characters, no braces or tags, just indentation.
STXT is a Human-First language, designed for documents and structured data.
An STXT document combines readability and semantics, which makes it suitable in many fields, for example:
# A simple document, with no validation and no namespace Email: From: John Smith To: Mery Adams Cc: Keyla Brown Title: Project report # The body is a literal text block Body Content >> Hello Mery! The book is finished! Documents with namespace and schemas STXT allows the use of namespaces to group documents. Schemas or templates can also be defined to validate the content of a document.
# An `Email` document from the `com.example.docs` namespace: Email (com.example.docs): From: John Smith < [email protected] > To: Mery Adams < [email protected] > Cc: Keyla Brown < [email protected] > Title: Project report Body Content >> Hello Mery!! The book is finished!! And the template that validates that namespace: