Commit Graph

121 Commits (e1e63cc35a79d8d62a2a5e7a34e8bc0214d9ab25)

Author SHA1 Message Date
trivernis f709465eba
Fix windows lineending
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 4c0d4c560c
Fix mathjax include
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d5df0b6f05
Change whitespace behaviour
A single linebreak will be ignored in plain text while a double line
break will be converted to a single linebreak. All following
linebreaks are taken as-is and rendered as normal linebreaks.
(Fixes #13)

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 661a6e5a85
Add flag to print to stdout
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis cac1cbe8d6
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e99b80ecf0
Fix block documents being ignored at EOF
Fixes that block elements are being ignored when written as the last
element of a file (Fixes #14)x

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8cf6dd33b7
Fix escapes in monospace and progressbar
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8747c8c41a
Add metadata embedding in html
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 374c385f06
Increment Version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 097eae5f4e
Add theme config option
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d84b0d86dd
Change settings format
Settings are now stored in a specific format defined in the settings
module. The Manifest.toml file will be loaded by default. Further
config files can be imported with the default file import syntax.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 31a4abff39
Add option to configure watch debounce time
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b21a6ddb5d
Increment version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 63ea60b10a
Add conversion of images when configured
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d42821a6eb
Fix image href pointing to non existent files
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b379fcbea9
Fix default value for display-header-footer
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 293fb52aaa
Fix compile warning on pdf config constants
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f2b154b7c3
Expose chromium pdf options to config
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9d1f6d0ac9
Update dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 944a9e03fc
Increment version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e5d021a571
Hide pdf behind features flag
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 2f16c69c39
Add chromium based pdf support
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 72d0e0a215
Resolve conflict between glossary and striked text parsing
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 04e1e30fef
Fix MathJax Integration
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 1a4ec92aff
Add SmartArrows
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e8cdbc3b06
Add glossary implementation
Glossary entries can be defined with `~KEY` for the
short form and `~~KEY` for the long form.
If a glossary entry is referenced for the first time it will always be
rendered as the long form.
Glossary entries can be defined in a toml file (default is glossary.toml)
similar to bibliography.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9424d04c37
Add option to turn off embedding of images
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 2dba1025e8
Fix --no-cache to also not write to the cache dir
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis dc884890d4
Add download cache and refactor parser creation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 98f64270f3
Update bibliographix and add bib error messages
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a226001b1c
Add progress bar to downloader
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
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 d0ebeebbd5
Add formatting implementation for in_collection
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 ea481feb6c
Update asciimath-rs and charred to run on stable
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 176b546357 Update asciimath-rs version to 0.5.6 4 years ago
trivernis bfaad4293a Fix last table row being ignored on eof 4 years ago
trivernis 621cd13279 Update asciimath-rs version# 4 years ago
trivernis 998fc6d813 Update asciimath-rs version# 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