Add better word count

This commit is contained in:
Lucas 2023-03-02 22:47:11 +01:00
parent d17b8f8abf
commit b89b25bb00
10 changed files with 7931 additions and 7 deletions

3
.gitignore vendored
View file

@ -7,4 +7,5 @@
.obsidian/workspace.json .obsidian/workspace.json
!.obsidian/plugins/dataview/ !.obsidian/plugins/dataview/
!.obsidian/themes/Obuntu/ !.obsidian/themes/Obuntu/
!.obsidian/plugins/homepage/ !.obsidian/plugins/homepage/
!.obsidian/plugins/better-word-count/

8
.obsidian/app.json vendored
View file

@ -1,6 +1,6 @@
{ {
"legacyEditor": false, "legacyEditor": false,
"livePreview": true, "livePreview": false,
"spellcheck": true, "spellcheck": true,
"alwaysUpdateLinks": false, "alwaysUpdateLinks": false,
"promptDelete": true, "promptDelete": true,
@ -36,5 +36,11 @@
"editor:configure-toolbar", "editor:configure-toolbar",
"insert-template", "insert-template",
"templater-obsidian:insert-templater" "templater-obsidian:insert-templater"
],
"showFrontmatter": false,
"showLineNumber": true,
"spellcheckLanguages": [
"fr",
"fr-FR"
] ]
} }

View file

@ -13,5 +13,6 @@
"metaedit", "metaedit",
"obsidian-git", "obsidian-git",
"consistent-attachments-and-links", "consistent-attachments-and-links",
"homepage" "homepage",
"better-word-count"
] ]

View file

@ -7,12 +7,12 @@
"outgoing-link": true, "outgoing-link": true,
"tag-pane": true, "tag-pane": true,
"page-preview": true, "page-preview": true,
"daily-notes": true, "daily-notes": false,
"templates": true, "templates": true,
"note-composer": true, "note-composer": true,
"command-palette": true, "command-palette": true,
"slash-command": true, "slash-command": true,
"editor-status": true, "editor-status": false,
"starred": true, "starred": true,
"markdown-importer": false, "markdown-importer": false,
"zk-prefixer": false, "zk-prefixer": false,

View file

@ -8,12 +8,10 @@
"outgoing-link", "outgoing-link",
"tag-pane", "tag-pane",
"page-preview", "page-preview",
"daily-notes",
"templates", "templates",
"note-composer", "note-composer",
"command-palette", "command-palette",
"slash-command", "slash-command",
"editor-status",
"starred", "starred",
"outline", "outline",
"word-count", "word-count",

View file

@ -0,0 +1,24 @@
{
"statusBar": [
{
"prefix": "",
"suffix": " nouveaux mots aujourd'hui",
"metric": {
"type": 1,
"counter": 0
}
}
],
"altBar": [
{
"prefix": "",
"suffix": " files",
"metric": {
"type": 2,
"counter": 3
}
}
],
"countComments": true,
"collectStats": true
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,9 @@
{
"id": "better-word-count",
"name": "Better Word Count",
"version": "0.9.4",
"description": "Counts the words of selected text in the editor.",
"author": "Luke Leppan",
"authorUrl": "https://lukeleppan.com",
"isDesktopOnly": false
}

View file

@ -0,0 +1,21 @@
details.bwc-sb-item-setting {
border: 1px solid var(--background-modifier-border);
border-radius: 10px;
padding: 10px 5px 20px 10px;
margin-top: 5px;
margin-bottom: 10px;
}
.bwc-sb-item-setting summary::marker {
font-size: 10px;
}
/* .bwc-sb-item-setting summary { */
/* margin-bottom: 5px; */
/* } */
.bwc-sb-item-setting summary span.bwc-sb-buttons {
float: right;
}
.bwc-status-bar-settings-title {
margin-bottom: 0px;
}

1
.obsidian/vault-stats.json vendored Normal file
View file

@ -0,0 +1 @@
{"history":{"2023-03-02":{"words":0,"characters":0,"sentences":0,"files":0,"totalWords":29257,"totalCharacters":231237,"totalSentences":821}},"modifiedFiles":{}}