Commit Graph

110 Commits (a17f349daa0609402c51205929b9f2b32f6fb1bb)

Author SHA1 Message Date
sigoden f694a59dcc
refactor: replace dump with print_now! (#35) 2 years ago
sigoden b7cb6f89f1
fix: repl set save true not work if not rerun(#34) 2 years ago
sigoden 360264121c
feat: command mode supports stream out (#31)
* feat: command mode supports stream out

* update cli
2 years ago
sigoden c7fcdb1744
refactor: adjust repl (#30)
- abandon .copy
- rename .multiple => .editor
- if command successed, do not output `Done`
- if command failed, output `Error: <error message>`
2 years ago
sigoden 11dc4d104b
refactor: optimize ctrl+c/ctrl+d abort handling (#27) 2 years ago
sigoden 1640456049
refactor: use syntect for highlight, abandon mdcat (#26)
* refactor: use syntect for highlight, abandon mdcat

* split src/render.rs to sub modules. embed a default theme

* simulate typing effect.

* fix format
2 years ago
sigoden c12ae02751 chore: improve code by renameing some function 2 years ago
sigoden cfb46ca0de
feat: add `--no-highlight` option (#24) 2 years ago
sigoden c5a2f4603c chore: optimize code 2 years ago
sigoden 2152667fc6
refactor: split src/repl.rs to submodules (#22) 2 years ago