Skip to content

FelisPhasma/Txtup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Txtup

A basic markup language for text files.

Syntax

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

Command Description
c Centers text
h1 Applies h1 formatting
h2 Applies h2 formatting
docwidth=x Sets 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

Command Description
> Blockquote

About

A simple markup language for txt files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published