Commit Graph

44 Commits (main)

Author SHA1 Message Date
trivernis 6ebc7cc766
Update Copyright in Source files
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1e46274003
Add reference anchors and update README
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f709465eba
Fix windows lineending
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e50d73a880
Fix quote text alignment
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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>
3 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>
3 years ago
trivernis 8cf6dd33b7
Fix escapes in monospace and progressbar
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 245c908410
Fix nested anchors and placeholders
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d0186cc90e
Fix toc not using plain text
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d82c43e5a3
Add magic dark theme and rename formatting config to style
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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>
3 years ago
trivernis 31a4abff39
Add option to configure watch debounce time
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b9cf095cfa
Add image filters
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 63ea60b10a
Add conversion of images when configured
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 72d0e0a215
Resolve conflict between glossary and striked text parsing
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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 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 f5bf361795
Add metadata file imports and import types
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 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 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 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 d292dd6f32 Add AsciiMath inline and block parsing 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 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
4 years ago