mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 13:13:43 +00:00
feat: add status bar to showing words count, also for compiling status (#158)
* feat: add status bar to showing words count, also for compilng status * dev: add configuration for compile status * fix: let focus state correct * dev: improve hint
This commit is contained in:
parent
454127e354
commit
6722b2501f
16 changed files with 633 additions and 47 deletions
|
@ -128,6 +128,7 @@ mod polymorphic {
|
|||
#[derive(Debug, Clone)]
|
||||
pub enum ExportKind {
|
||||
Pdf,
|
||||
WordCount,
|
||||
Svg { page: PageSelection },
|
||||
Png { page: PageSelection },
|
||||
}
|
||||
|
@ -136,6 +137,7 @@ mod polymorphic {
|
|||
pub fn extension(&self) -> &str {
|
||||
match self {
|
||||
Self::Pdf => "pdf",
|
||||
Self::WordCount => "txt",
|
||||
Self::Svg { .. } => "svg",
|
||||
Self::Png { .. } => "png",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue