Commit Graph

3 Commits (392ee83a4a121a45c0eb2ebfbde93ee7d063e2f0)

Author SHA1 Message Date
trivernis 815bd26e51 Refactor template variable collecting and freezing
This change extracts template variable collectiong and freezing into
a different module to keep the elements module clean.
This commit also changes all Mutex'es to RwLocks to get better performance
with read-only locking (the increase is measurable even with small files).
4 years ago
trivernis 792d991fb2 Improve template syntax
Templates are still wip. Currently they can be used in metadata
by starting the value with %
4 years ago
trivernis 8498f4c66c Change bibliography to an easier concept
Definitions are similar to the markdown key-url definitions:
[key]:url
[key]:[metadata]

References work like some markdown-footnote concepts:

[^key]
4 years ago