Commit Graph

6 Commits (cfb6ce6958751da5e13683ea07f42a5dbc4eae01)

Author SHA1 Message Date
sigoden cfb6ce6958
feat: support light theme (#65)
There are two ways to enable the light theme:
- add `light_theme: true` to config.yaml
- use `AICHAT_LIGHT_THEME=true` env var
1 year ago
sigoden 89eaf1b653 fix: csharp and php do not render correctly 1 year ago
sigoden b05fce7bca
refactor: split long paragraphs for smoother stream output (#33) 1 year ago
sigoden ec1c4bcf8f
refactor: theme and code color (#32) 1 year ago
sigoden d73be65b07
refactor: support highlighting more languages (#28) 1 year 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
1 year ago