0.0.2 • Published 8 years ago

txtup v0.0.2

Weekly downloads
11
License
FOSSL-G
Repository
github
Last release
8 years ago

Txtup

A basic markup language for text files.

Syntax

All commands go inside % symbols at the beginning of a line

CommandDescription
cCenters text
h1Applies h1 formatting
h2Applies h2 formatting
docwidth=xSets document width in characters. Default = 100
\%Escapes % at the beginning of a line

Lines are automatically wrapped such that they don't overflow the docwidth.

Installation and Ussage

npm install -g txtup

txtup TxtupDir

All .txtup files are compiled to an .txt with the same name file.

Examples

%docwidth=200%
%c% Centered text
%h1% First header
%h2% Second header
\% This percent isn't treated as a command
All lines that don't start with a command are wrapped if they overflow the docwidth

License

Licensed under the FOSSL-G License. (https://github.com/FelisPhasma/Felis-Licenses)

Upcoming features

CommandDescription
>Blockquote