STX is a lightweight Markup Language. It is simple, yet powerful and open to be used by Everyone.
This Section describes the Markup Structure, which is equivalent to XML, but more concise and readable. Just like XML it can be used to represent any Number of Styles or Semantics, because it is
a 'generalized' Markup Language. That means you can choose the Set of actual Tag Names.
STX also contains other Markup Elements with a different Syntax:
The usual Extension for Files containing Text with this Format is ".stx", the Internet mime-type is text/stx. Files with this Suffix should be associated with the Spoc-Text Editor, so it starts by simply double-clicking a File.
You achieve this by right-clicking on any *.stx File, choosing "Open with.../Choose Default Program" Menu Item and selecting the
SpocText.exe Application with "Use this App for all .stx files" checked.
It is also very useful to enable these and other Text Files in the Preview Pane of
the Windows Explorer as described here.
STX Tags mark their content semantically and can also apply some Formatting to it. Some Examples:
As You can see from the Examples, STX Tags have a common Form, like XML. This makes it easier to learn and remember:
Because the Set of Tags can be extended by just using new ones, most Markup will be applied using Tags. This consistency sets STX apart from other lightweight Markup Languages that use a Hodgepodge of ad hoc Rules.
But certain Constructs like Tables or Check-Boxes [x] have a mnemonic Text Representation that is even easier to read and write than Tags and are therefore included to form a mixed Markup
Language.
Tables are a very compact Representation for large Amounts of structured Information. When used with discipline, they can form a Database that Applications can query or update automatically.
STX- Tables are created using the '|' (Vertical Bar) Character and Tabs (shown as '»'). Tabs can control both Content Alignment (left/right/centered) and Column/horizontal-Span (with multiple Tabs).
Row/vertical-Span is indicated by a trailing Hyphen/Minus Sign.
Simply start a Line with a vertical Bar |, enter the Value, a Tab and another Bar. Spoc-Text retains the Bars as Column Delimiters and aligns them so the Result looks like a proper Table.
Rather than fiddling around with the Menu to add Columns or Rows, you just enter | or a new Line with the Keyboard to rapidly fill a well-formatted Table. Try it and You will never again want to enter Tables differently.