trivernis
659ca55e2c
Merge branch 'main' into develop
4 years ago
trivernis
c7694d39e0
Change path of temporary file to be absolute
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
0495855d91
Fix problems with creating temp file for pdf rendering
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
0e608e255a
Add fetch feature to headless_chromium dep
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
silentbat
995a3b0582
add style.css to init
...
when calling `snekdown init`, you should get a default (empty) style.css file now
4 years ago
trivernis
6ebc7cc766
Update Copyright in Source files
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
1e46274003
Add reference anchors and update README
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
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
e50d73a880
Fix quote text alignment
...
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
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
f6e4bb86da
Hotfix pdf renderer
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
245c908410
Fix nested anchors and placeholders
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
d0186cc90e
Fix toc not using plain text
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
d82c43e5a3
Add magic dark theme and rename formatting config to style
...
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
2b07fc39b2
Add huerotate option to image
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
9fb6664a63
Add inverting images and progressbar for image processing
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
b9cf095cfa
Add image filters
...
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
53c4818f9d
Change input syntax and add cache storage handler
...
- input syntax changed to <subcommand> <options...>
- Added clear-cache subcommand
- CacheStorage now handles the caching of files
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
b599bf5e37
Fix warnings and update Readme
...
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