Skip to content

Commit

Permalink
fix: 🐛 cannot paste image in Win 11
Browse files Browse the repository at this point in the history
  • Loading branch information
telesoho committed Oct 22, 2024
1 parent 3077128 commit c0cf8f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ Smartly paste for Markdown.

- AI Parse Clipboard

This feature uses a large language model(Groq.com) to analyze the clipboard content and convert it into Markdown format.
- `MarkdownPaste.enableAI`: Enable AI clipboard parsing feature.
- `MarkdownPaste.openaiConnectOption`: Set OpenAI (compatible) connection options.
- `MarkdownPaste.openaiCompletionTemplate`: Set OpenAI completion template.
- `MarkdownPaste.openaiCompletionTemplateFile`: Set OpenAI completion template file path.

Enable this feature by setting `MarkdownPaste.enableAI` to true.
You can also customize how AI processes and outputs text by setting the `MarkdownPaste.aiSysMessage` parameter.
If you need to set more complex rules for AI, you can specify the AI's prompt file through `MarkdownPaste.aiPromptFile`.
With these configurations, you can customize the AI clipboard parsing behavior to better suit different use cases.

- Paste smart

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-markdown-paste-image",
"displayName": "Markdown Paste",
"description": "A smartly paste for markdown.",
"version": "1.2.0",
"version": "1.2.1",
"publisher": "telesoho",
"author": {
"name": "telesoho",
Expand Down Expand Up @@ -367,7 +367,7 @@
"openai": "^4.61.0",
"shelljs": "^0.8.5",
"turndown": "^7.1.2",
"xclip": "^1.0.6"
"xclip": "^1.0.7"
},
"devDependencies": {
"@types/glob": "^7.1.3",
Expand Down
2 changes: 1 addition & 1 deletion xclip

0 comments on commit c0cf8f9

Please sign in to comment.