From 29972a98fff12f9ad5c20492c5808754d57c9725 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Wed, 8 Dec 2021 10:02:36 +0100 Subject: [PATCH] ~ ignoring more markdown syntax --- .github/workflows/publish.yml | 10 ---------- manifest.json | 2 +- package.json | 2 +- src/TTSService.ts | 2 ++ versions.json | 3 ++- 5 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b64a2f2..1f88dca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,13 +71,3 @@ jobs: asset_path: ./manifest.json asset_name: manifest.json asset_content_type: application/json - - name: Upload styles.css - id: upload-styles - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./styles.css - asset_name: styles.css - asset_content_type: text/css diff --git a/manifest.json b/manifest.json index cb4ba52..db17cc1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-tts", "name": "Text to Speech", - "version": "0.3.3", + "version": "0.3.4", "minAppVersion": "0.12.0", "description": "Text to speech for Obsidian. Hear your notes.", "author": "Johannes Theiner", diff --git a/package.json b/package.json index 1fcf519..a35d9b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tts", - "version": "0.3.3", + "version": "0.3.4", "description": "Text to speech for Obsidian. Hear your notes.", "main": "main.js", "scripts": { diff --git a/src/TTSService.ts b/src/TTSService.ts index 0a91a2b..5e067f6 100644 --- a/src/TTSService.ts +++ b/src/TTSService.ts @@ -39,6 +39,8 @@ export class TTSService { content = content.replace(/-/g, ""); content = content.replace(/_/g, ""); content = content.replace(/\*/g, ""); + content = content.replace(/\^/g, ""); + content = content.replace(/==/g, ""); } if (!this.plugin.settings.speakLinks) { //regex from https://stackoverflow.com/a/37462442/5589264 diff --git a/versions.json b/versions.json index 132a75b..e67ea06 100644 --- a/versions.json +++ b/versions.json @@ -2,5 +2,6 @@ "0.1.0": "0.9.12", "0.2.0": "0.9.12", "0.3.2": "0.12.0", - "0.3.3": "0.12.0" + "0.3.3": "0.12.0", + "0.3.4": "0.12.0" }