Skip to content

Releases: henry-luo/mark

Syntax and API fine tuning

04 Mar 09:50
Compare
Choose a tag to compare
Pre-release
  1. Binary object syntax changed from {: ... } to [# ... ].
  2. Array-like APIs, like map(), filter(), reduce(), etc., have been made to work when the 'length' property is set on the Mark object.

Syntax and API fine tuning

12 Dec 12:02
Compare
Choose a tag to compare
Pre-release
  1. Changed .length() to .length, so that Mark object is now array-like, thus functional libraries that work with array-like data can also work with Mark object without change.
  2. Added Mark.lengthOf() to get content length of a Mark object. This is useful when the .length property is defined on the Mark object.
  3. Introduced double ?? escape to Mark pragma.
  4. Mark stringify() now omits comma.

Syntax fine-tuning

26 Oct 08:20
Compare
Choose a tag to compare
Syntax fine-tuning Pre-release
Pre-release

Some minor syntax fine-tuning:

  1. String value need not be quoted if it is an identifier.
  2. Block comment /* ... */ can now be nested.
  3. Added an alternative pragma syntax (? ... ?).
  4. Content normalization for

Changed pragma delimiters

07 Aug 08:19
Compare
Choose a tag to compare
Pre-release
  1. Changed Mark pragma delimeters from back ticks `...` to round brackets (...).
  2. Made the symbols used by Mark public.

Simplified pragma syntax

21 Jul 04:12
Compare
Choose a tag to compare
Pre-release

In this beta release, Mark pragma syntax has been simplified from {...} to `...`.
As its syntax is now clearly distinguished from Mark and JSON object, it's parsing and usage is much simpler.

Binary data support and separated mutative API

20 Jun 06:54
Compare
Choose a tag to compare
  1. Binary data can now be encoded in base64 or ascii85;
  2. Mutative API functions are now separated into sub-module mark.mutate.js;
  3. Added new API functions .each() and .text();
  4. Added Mark('{source}') shorthand support;
  5. Added XML and HTML stringification indentation support;
  6. Some minor bug fixes and code clean up;

New release to support optional comma

09 Feb 02:45
Compare
Choose a tag to compare
Pre-release

A minor release to support optional comma in Mark.