From 9131c4e95e9fb21b270ce10032318e56ae861f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Syk=C3=A4ri?= Date: Wed, 9 Oct 2013 15:45:23 +0300 Subject: [PATCH] Study markright, hard. --- README.md | 19 ++----------------- README.pre | 26 ++------------------------ 2 files changed, 4 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 9b8acf1..978fc63 100644 --- a/README.md +++ b/README.md @@ -9,27 +9,12 @@ the sky (except by being extensible). It just tries to be simple, easy, and do its job well.

Features

Paragraphs are separated by empty lines, like in Markdown. When starting a -paragraph <, it's taken to be a literal HTML element and is passed as-is. -

This is a paragraph.
-
-This is another.
-
-<div class='red'>
-
-As an aside, 
-
-</div>
-

This is a paragraph. -

This is another. -

-

As an aside, -

-

TODO +paragraph with a <, it's taken to be a literal HTML element and is passed as-is.

Weight

Pretext is small (around 1.7 kB minified + compressed, 8kB without) and the code is comprehensibly and well-documented. (TODO at least that's the goal.)

Speed?

-

Pretext is fast enough (TODO test against marked) +

Pretext is "fast enough" (TODO test against marked)

Implemented in JavaScript, Node.js and the browser

Small footprint

How fast is it?

diff --git a/README.pre b/README.pre index 1e73227..591c47c 100644 --- a/README.pre +++ b/README.pre @@ -15,29 +15,7 @@ its job well. ## Features Paragraphs are separated by empty lines, like in Markdown. When starting a -paragraph `<`, it's taken to be a literal HTML element and is passed as-is. - - This is a paragraph. - - This is another. - -
- - As an aside, - -
- -This is a paragraph. - -This is another. - -
- -As an aside, - -
- -TODO +paragraph with a `<`, it's taken to be a literal HTML element and is passed as-is. ## Weight @@ -46,7 +24,7 @@ is comprehensibly and well-documented. (TODO at least that's the goal.) ## Speed? -Pretext is fast enough (TODO test against marked) +Pretext is "fast enough" (TODO test against marked) ## Implemented in JavaScript, Node.js and the browser