Commit Graph

111 Commits (234b11ee93e1c062d2ebc4b62a1d1049bd457456)

Author SHA1 Message Date
trivernis 234b11ee93
Change downloading of images to be parallel
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0b897aa6f2
Add more logging and loglevels
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 932c213ff2
Add imports in metadata files and update README
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 609bc18d7f
Fix open options for written file
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f5bf361795
Add metadata file imports and import types
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 09bbabfdc2
Change html rendering to use a writer for memory efficiency
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ee822738b4
Integrate Bibliographix
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 077394149b
Add formatting implementation for Website
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 589e3429ae
Add formatting implementation for Unpublished
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9c87e72482
Add formatting implementation for Thesis
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 1fbdbda538
Add formatting implementation for TechReport
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9c7c89bcb0
Add formatting implementation for Repository
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9d0854d75b
Add formatting implementation for Misc and Manual
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d0ebeebbd5
Add formatting implementation for in_collection
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ef85637b59
Add formatting implementation for in_book
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0bdbeed96d
Add formatting implementation for booklet
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c7d5cb0e44
Add formatting implementation for book
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 1ef9f1183c
Add formatting implementation for article
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 801268b804
Replace bibliography handling with bibliographix
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 53123705ac
Change inline formatting to accept multiple inline types
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bfaad4293a Fix last table row being ignored on eof 4 years ago
trivernis f3b8426302 Update asciimath-rs version# 4 years ago
trivernis e1891225ed Fix image path resolution for real 4 years ago
trivernis 2f85961b65 Fix parsing of ordered lists 4 years ago
trivernis 4cce555310 Add lang to html tag and charset to head 4 years ago
trivernis 8fe2c47739 Fix image description and paths 4 years ago
trivernis 4d27e054da Add html character escape codes 4 years ago
trivernis b835f900eb Fix last line of the file not being parsed 4 years ago
trivernis 6739851aba Fix problems with missing newline at eof 4 years ago
trivernis 038a9ef554 Change images to be embedded as base64 4 years ago
trivernis 8715ca7b41 Add custom stylesheet imports 4 years ago
trivernis 1af43f4ff0 Fix checkboxes, escapes and inline math
- Fix empty checkboxes not being displayed when line starts with them
- Fix inline math consunming following char
- Fix single escape characters being displayed
4 years ago
trivernis 291da3a72b Add MathJax for fancier Math display 4 years ago
trivernis d292dd6f32 Add AsciiMath inline and block parsing 4 years ago
trivernis 06ee81cc15 Add snekdown logo to README 4 years ago
trivernis 5f7d9f8de1 Fix image short syntax 4 years ago
trivernis 47e6490203 Change url to allow inline formatting for description 4 years ago
trivernis 108bcb26d5 Fix word break 4 years ago
trivernis 63c060e0a2 Cleanup after switching to charred 4 years ago
trivernis cb327180c6 Add charred for char state operations 4 years ago
trivernis dd65c65c9d Refactor project folder and file structure
- add folders for references and utils as well as elements
- extract the line and inline parsing of the parser into separate traits
5 years ago
trivernis 392ee83a4a Change path format from String to PathBof 5 years ago
trivernis 63345854a0 Add optional comma to metadata 5 years ago
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).
5 years ago
trivernis 792d991fb2 Improve template syntax
Templates are still wip. Currently they can be used in metadata
by starting the value with %
5 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]
5 years ago
trivernis 1eea0e3b86 Switch to internal BufRead for parsing 5 years ago
trivernis fc1d1ccb56 Add automated parsing tests 5 years ago
trivernis cb8f469853 Fix EOF handling 5 years ago
trivernis 86ff2e17d1 Add inlining for some charstate functions 5 years ago