Commit Graph

154 Commits (main)

Author SHA1 Message Date
Trivernis add37e8832 Fix text color in html rendering 4 years ago
Trivernis eab4a4a7cb Remove check if the output file exist
Why did I even do that?
4 years ago
trivernis a7deb82966 Change placeholder behaviour to be global and not document-scoped 4 years ago
trivernis 8daa6bb70c Add link rendering for references 4 years ago
trivernis 5dacef285c Change string templates to {{name}} templates 4 years ago
trivernis e2f0d88acf Add bibliography, references and settings placeholders 4 years ago
trivernis cfc02b8da7 Add centered text 4 years ago
trivernis e80ecea6cf Add options to placeholders 4 years ago
trivernis ba7fd40f92 Encapsulate inline parsing
- Rename Inline stuff to Line
- Rename SubText stuff to Inline
4 years ago
trivernis c4485e1394 Improve readability by encapsulating char operations
- Add charstate module with CharStateMachine trait for char operations
4 years ago
trivernis 7d910301d6 Improve parsing performance 4 years ago
trivernis 5dc26612d6 Fix metadata parsing for images 4 years ago
trivernis 018960db0e Add hiding of sections with metadata 4 years ago
trivernis 0d6eb1d1a7 Add metadata syntax with formatting 4 years ago
trivernis e1f1140aeb Add Anchor element for references to items 4 years ago
trivernis 8afdfc71d6 Fix doc rendering for imports 4 years ago
trivernis 1c47888a05 Add placeholders 4 years ago
trivernis 56ab594009 Fix section nesting order
With this fix the sections can be nested in any way possible
4 years ago
trivernis 345bde509c Fix quotes and monospace
- Fix parsing of empty quote lines
- Fix style of monospace
4 years ago
trivernis 03ebed6277 Improve rendering performance 4 years ago
trivernis 9e1d13bce5 Fix escapes of highlighted code 4 years ago
trivernis 3b75ad10dc Improve code block rendering
- Add HTML escapes
- Make highlighter static
4 years ago
trivernis cdb86098c2 Add syntax highlighting using syntect 4 years ago
trivernis 5efb355a06 Fix import parsing 4 years ago
trivernis d43410de70 Fix table parsing 4 years ago
trivernis 269e26840f Update README and Cargo.toml 4 years ago
trivernis ec6148797c Fix style and add html escaping 4 years ago
trivernis 4e1e4fa5ae Remove minifcation of parentheses to avoid loosing spaces
- Improve table style
4 years ago
trivernis fbb33ea6d9 Fix bold text html rendering 4 years ago
trivernis d815ae9a20 Add minifier for html and improve style 4 years ago
trivernis 7d0d04454e Improve html rendering
- Add stylesheet
- Remove unnecessary linebreaks
4 years ago
trivernis e9ec656740 Add error handling for section nesting problems 4 years ago
trivernis 22b6c9cc00 Add ruler defined with - - - 4 years ago
trivernis 4090ce6814 Set default format to html 4 years ago
trivernis 72010bebb8 Add colored error message 4 years ago
trivernis 4b12391ff4 Change name of cargo package 4 years ago
trivernis 302669044f Add cli options 4 years ago
trivernis 6db67c9139 Add ordering to sublists and fix escape 4 years ago
trivernis bc1d620aa0 Add to html implementation 4 years ago
trivernis ee9198d001 Fix path resolution 4 years ago
trivernis 15b1a1e6b7 Add multithreaded import parsing 4 years ago
trivernis 7b901ee984 Remove url short syntax and update Readme 4 years ago
trivernis 8896ea27b3 Add Image parsing
Images have the syntax ![description](url)[metadata]
with [description] and [metadata] being optional.
So the shortest syntax is !(url).
Similar to the short url syntax (url)
4 years ago
trivernis e32073fb4b Change image syntax 4 years ago
trivernis d8f12df8e6 Add quotes with metadata
Syntax: [Metadata]> Quote
The metadata is optional so normal markdown quotes work too
4 years ago
trivernis 2204f93cf3 Add code block parsing 4 years ago
trivernis 110109c882 Add escape character handling 4 years ago
trivernis 6db54b449f Add url parsing 4 years ago
trivernis 1e038ed404 Add ordered list and more list indicators 4 years ago
trivernis 3e892571df Fix list parsing
- Add iterative nesting parsing algorithm for lists
4 years ago
trivernis b4365a9128 Add table parsing 4 years ago
trivernis 70ba5a7062 Add subtext parsing
- lots of fixes
- kinda works
4 years ago
trivernis c89b9d83fb Add parsing of the list 4 years ago
trivernis e9e7dca783 Add tokens and started with the parsing 4 years ago