Skip to content

Commit

Permalink
Added hints for mobile usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-baumberger committed Feb 7, 2024
1 parent b53b7d9 commit a98a930
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ Recognize Text on images in your notes. Select the image and run the command. Th
| URL | `https://www.example.com/example.png` | URL to an image |
| img Tag | `<img src="https://www.example.com/example.png" />` | Img tag with a valid src attribute |

## Supported Devices

Obsidian images are not supported on mobile devices since the file adapter works only on desktop. All other images are available also on mobile.

## Installation

### Community Plugin
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const MESSAGE_FILETYPE =
const MESSAGE_CONTENT =
"Not supported content. Allowed: Obsidian Images, Markdown Images and Urls";
const MESSAGE_PATH = "Could not resolve image path";
const MESSAGE_ADAPTER = "Error resolving adapter";
const MESSAGE_ADAPTER =
"Error resolving adapter. Obsidian images are not supported on mobile devices.";
const MESSAGE_NOTFOUND = "Image file not found in the vault.";

const MESSAGE_RUNNING = "Recoginition is running...";
Expand Down

0 comments on commit a98a930

Please sign in to comment.