From 45303c087821a9119df30654cb703784531d3085 Mon Sep 17 00:00:00 2001 From: Sandro Figo Date: Mon, 31 Oct 2022 16:13:22 +0100 Subject: [PATCH] Fix casing for URL --- README.md | 6 +++--- manifest.json | 4 ++-- package.json | 2 +- src/main.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 271fa35..1b850a1 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ ![Demo](images/demo-url-to-preview-0.4.0.gif) -1. Select an url -2. right click on it (or use the command `Convert to Url Preview`) -3. Click on `Url to Preview/Iframe`. +1. Select a URL +2. Right click on it (or use the command `Convert to URL Preview`) +3. Click on `URL to Preview/Iframe`. ![contextual menu](images/contextual-menu.png) diff --git a/manifest.json b/manifest.json index bd5990a..294b62a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "id": "convert-url-to-iframe", - "name": "Convert url to preview (iframe)", + "name": "Convert URL to preview (iframe)", "version": "0.5.0", - "description": "Convert an url (ex, youtube) into an iframe (preview)", + "description": "Convert a URL (ex, youtube) into an iframe (preview)", "author": "Hachez Floran", "authorUrl": "https://github.com/FHachez", "isDesktopOnly": false diff --git a/package.json b/package.json index 526b1b0..26ba453 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "obsidian-convert-url-to-iframe", "version": "0.5.0", - "description": "Convert an url (ex, youtube) into an iframe (preview)", + "description": "Convert a URL (ex, youtube) into an iframe (preview)", "main": "main.js", "scripts": { "dev": "node esbuild.config.mjs", diff --git a/src/main.ts b/src/main.ts index 805c91a..74a1170 100644 --- a/src/main.ts +++ b/src/main.ts @@ -26,7 +26,7 @@ export default class FormatNotionPlugin extends Plugin { const url = this.getCleanedUrl(); if (url) { menu.addItem((item) => { - item.setTitle("Url to Preview/Iframe") + item.setTitle("URL to Preview/Iframe") .setIcon("create-new") .onClick((_) => { this.urlToIframe(url);