Merge branch 'release/0.7.0' into develop
This commit is contained in:
commit
bef425e8ec
3 changed files with 34 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "better-word-count",
|
||||
"name": "Better Word Count",
|
||||
"version": "0.6.2",
|
||||
"version": "0.7.0",
|
||||
"description": "Counts the words of selected text in the editor.",
|
||||
"author": "Luke Leppan",
|
||||
"authorUrl": "https://lukeleppan.com",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "better-word-count",
|
||||
"version": "0.6.2",
|
||||
"version": "0.7.0",
|
||||
"description": "Counts the words of selected text in the editor.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -96,5 +96,37 @@ export class BetterWordCountSettingsTab extends PluginSettingTab {
|
|||
this.plugin.saveSettings();
|
||||
});
|
||||
});
|
||||
|
||||
this.containerEl.createEl("h3", {
|
||||
text: "Syntax for the status bars works like this: ",
|
||||
});
|
||||
|
||||
this.containerEl.createEl("li", {
|
||||
text: "To get a stat input the name of the stat in between `{}` eg. `{word_count}`.",
|
||||
});
|
||||
|
||||
this.containerEl.createEl("li", {
|
||||
text: "All other words remain.",
|
||||
});
|
||||
|
||||
this.containerEl.createEl("br");
|
||||
|
||||
this.containerEl.createEl("h4", {
|
||||
text: "Available Stats:",
|
||||
});
|
||||
|
||||
this.containerEl.createEl("p", {
|
||||
text:
|
||||
"word_count, " +
|
||||
"character_count, " +
|
||||
"sentence_count, " +
|
||||
"total_word_count, " +
|
||||
"total_character_count, " +
|
||||
"total_sentence_count, " +
|
||||
"file_count, " +
|
||||
"words_today, " +
|
||||
"characters_today, " +
|
||||
"sentences_today, ",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue