Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hints for mobile usage #2

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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