#parser #markup-language #markup #html #converter #textile

bin+lib flatiron

A parser and HTML renderer for the Textile markup language

6 stable releases

1.0.5 Aug 24, 2022
1.0.4 Jun 12, 2022
1.0.1 Jun 10, 2022

#2663 in Parser implementations

Custom license

125KB
3.5K SLoC

A picture of an old flatiron with the word "Flatiron" written below

Flatiron

A parser and HTML renderer for the Textile markup language , written in rust.

"she's an outlaw loose and runnin' came the whisper from each lip, and she's here to do REDACTED with the flatiron on her hip..." 🎵

Principles

"It should do what it says on the iron!"
-- Autumn, just now, writing this.

Flatiron aims to be:

  • Simple -- It's just a flat piece of iron with a handle on it! You heat it up! It works!
  • Sturdy -- Made of iron alloyed with pure XHTML!
  • Opinionated -- A flatiron that knows how to center images! How? don't ask me!
  • Better than that other guy's -- No wait you don't get it, the rust makes it safer to use!

Usage

The flatiron can be warmed on a hot pipe:

$ cat sample.textile | flatiron

Contributing

Find any lice? I always appreciate offers to fix up my flatiron!

Dependencies

~1MB
~19K SLoC