From 8a522c9cddd26b36f03431b1b953e8c9a66de098 Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Tue, 6 Dec 2022 21:40:04 +0200 Subject: [PATCH] Clean up --- .github/workflows/release.yml | 10 ++++++++++ README.md | 14 +++++++------- manifest.json | 2 +- package.json | 2 +- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cb9587..d73f624 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,3 +70,13 @@ jobs: asset_path: ./manifest.json asset_name: manifest.json asset_content_type: application/json + - name: Upload CSS + id: upload-css + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./src/styles.css + assest_name: styles.css + asset_content_type: text/css diff --git a/README.md b/README.md index 0e14833..413f4e7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/lukeleppan/better-word-count/Build%20Release?logo=github&style=for-the-badge) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/lukeleppan/better-word-count?style=for-the-badge) ![Obsidian Downloads](https://img.shields.io/badge/dynamic/json?logo=obsidian&color=%23483699&label=downloads&query=%24%5B%22better-word-count%22%5D.downloads&url=https%3A%2F%2Fraw.githubusercontent.com%2Fobsidianmd%2Fobsidian-releases%2Fmaster%2Fcommunity-plugin-stats.json&style=for-the-badge) -**IMPORTANT NOTICE:** Due to the introduction of the new Live Preview feature, this plugin needed to be almost entirely rewritten. Currently the plugin only displays the only the word and character count with selecting text features. ALL other features have been scrapped and will be ported in future updates. **DO NOT UPDATE** If you want to use the legacy editor since their is no backwards compatibility yet (I know I'm lazy but I wanted to release the fix, its been too long). +**IMPORTANT NOTICE:** Due to the introduction of the new Live Preview feature, this plugin needed to be almost entirely rewritten. It will be unstable for a while so please report bugs on github. This plugin is the same as the built-in **Word Count** plugin, except when you select text, it will count the selected word instead of the whole document. I recommend turning off the built-in **Word Count** because this plugin is designed to replace that. This plugin also has the ability to store statistics about your vault. @@ -19,12 +19,6 @@ This plugin is the same as the built-in **Word Count** plugin, except when you s - Total Files in vault. - Highly Customizable status bar that can be adapted to your needs. -### TODO - -- [ ] add statistic view -- [ ] add more statistics (make suggestions) -- [ ] add goals - ## Contributors - @leoccyao @@ -44,3 +38,9 @@ This plugin is the same as the built-in **Word Count** plugin, except when you s - @lammersma - @aknighty74 - @dhruvik7 + +### Support Me + +If you enjoyed the plugin you can support me by clicking the button below. I am currently a student so anything helps. + +[BuyMeACoffee](https://www.buymeacoffee.com/lukeleppan) diff --git a/manifest.json b/manifest.json index f248daa..b73952c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "better-word-count", "name": "Better Word Count", - "version": "0.8.1", + "version": "0.9.0", "description": "Counts the words of selected text in the editor.", "author": "Luke Leppan", "authorUrl": "https://lukeleppan.com", diff --git a/package.json b/package.json index b8ba7f6..7ab6406 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "better-word-count", - "version": "0.8.1", + "version": "0.9.0", "description": "Counts the words of selected text in the editor.", "main": "main.js", "scripts": {