Skip to content

Commit

Permalink
Merge pull request #2 from dario-baumberger/feature/mobile-hints
Browse files Browse the repository at this point in the history
Added hints for mobile usage
  • Loading branch information
dario-baumberger authored Feb 7, 2024
2 parents eb75bb8 + a98a930 commit c989c7a
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 c989c7a

Please sign in to comment.