Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
/ textml Public archive

My personal textual markup language. Mostly a more structured alternative to Markdown

License

Notifications You must be signed in to change notification settings

aziis98/textml

Repository files navigation

textml

My personal textual markup language. Mostly a more structured alternative to Markdown as I prefer a more extensible language for writing content (and I will never use/setup MDX) (actually Astro is fine).

Introduction

A textml document is composed of various blocks that can also be nested. A block can be a text node or an element node.

This language provides just the syntax and a part from that it can be used to describe various things, for example a markdown-like document can be described as follows

example syntax highlighting of a textml document
Example document from examples/document.tml

Usage

For now there is a small CLI for working with the various "runtimes"

  • textml transpile OPTIONS...

    Used to transpile TextML to other structured formats like json or html.

  • textml template [--output|-o OUTPUT] FILES...

    Used to interpret TextML files as templates, for now the only supported directives are #define{ NAME }{ TEMPLATE }, #{ NAME }, #import{ FILE }, #extends{ NAME }.

About

My personal textual markup language. Mostly a more structured alternative to Markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published