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/plugins/dataview/
!.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,
"livePreview": true,
"livePreview": false,
"spellcheck": true,
"alwaysUpdateLinks": false,
"promptDelete": true,
@ -36,5 +36,11 @@
"editor:configure-toolbar",
"insert-template",
"templater-obsidian:insert-templater"
],
"showFrontmatter": false,
"showLineNumber": true,
"spellcheckLanguages": [
"fr",
"fr-FR"
]
}

View file

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

View file

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

View file

@ -8,12 +8,10 @@
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"slash-command",
"editor-status",
"starred",
"outline",
"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":{}}