Fix group parsing and allow newline in group.
Add an overview of concerned lines in error message.
Fix checking of unformat expression.
A lightweight WIP markup language designed for quick note taking.
Markdown is pretty simple and powerful, but not suitable for note taking. LaTeX has a very heavy syntax that makes it complicated to write although very complete. Postem offers an in-between to quickly structure a text and compile it to other more conventional formats.
This text marked in Postem:
& Postem
&& Philosophy
P aims to be a lightweight markup language designed for note taking.
It is also intended to be easily extensible by allowing extension writing in OCaml.
&& Features
P supports alias definition and custom operator definition.
&& Builtins marks
There are six builtins title tags:
{{& for a level one title, && for a level two title, and this up to 6.}}
By the way, the line above is unformated because it is put between two curly brackets.
This avoids the need to individually escape each operator.
> There are also quotes
> On one or on
> several lines
-- The \-\- mark allows you to formulate a conclusion.
will be rendered in this (with default expansion enabled):
I - Postem
##########
A) Philosophy
*************
Postem aims to be a lightweight markup language designed for note taking.
It is also intended to be easily extensible by allowing extension writing in OCaml.
B) Features
***********
Postem supports alias definition and custom operator definition.
C) Builtins marks
*****************
There are six builtins title tags:
& for a level one title, && for a level two title, and this up to 6.
By the way, the line above is unformated because it is put between two curly brackets.
This avoids the need to individually escape each operator.
█ There are also quotes
█ On one or on
█ several lines
-> The -- mark allows you to formulate a conclusion.
See the dedicated readme.
Check for missing dependencies:
$ make deps
Then install Postem:
$ make install
This will install Postem (make it runnable) and man pages in the dedicated folders.
Pull requests, bug reports, and feature requests are welcome.