Skip to content

Improved Advanced Paste docs - Custom Actions and Paste as .html #5205

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

Merged
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
21 changes: 3 additions & 18 deletions hub/powertoys/advanced-paste.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ From the Settings menu, the following options can be configured:
| Clipboard history | Enable to automatically save clipboard history. |
| Open Advanced Paste shortcut | The customizable keyboard command to open the **Advanced Paste** window. |
| Automatically close the Advanced Paste window after it loses focus | Determines whether the Advanced Paste window will close after focus is lost from the window. |
| Custom Actions | Create and manage advanced paste custom actions. (Requires Paste with AI to be enabled). |
| Custom Actions | When using Paste with AI, save the prompts you frequently use and give them descriptive names, so you can easily select them from the Advanced Paste window without having to type them out. You can also assign each action a keyboard command, so you can execute them without opening the Advanced Paste window. |
| Paste as plain text directly shortcut | The customizable keyboard command to paste as plain text without opening the **Advanced Paste** window. |
| Paste as Markdown directly shortcut | The customizable keyboard command to paste as Markdown without opening the **Advanced Paste** window. |
| Paste as JSON directly shortcut | The customizable keyboard command to paste as JSON without opening the **Advanced Paste** window. |
Expand Down Expand Up @@ -118,24 +118,9 @@ If pasting files is accepted within the application that you are using (e.g. Fil

### Paste as .html file

**Paste as .html file** enables you to paste text stored in your clipboard as a .html file with an auto-generated file name. You can optionally set a quick key shortcut in settings.
**Paste as .html file** enables you to paste html data stored in your clipboard as a .html file with an auto-generated file name. This is especially useful for saving a part of a webpage from a browser - including links, formatted text and images. You can optionally set a quick key shortcut in settings.

Sample input:

```html
<!DOCTYPE html>
<html>
<head>
<title>PowerToys</title>
</head>
<body>
<h1>PowerToys</h1>
<p>PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity.</p>
</body>
</html>
```

If pasting files is accepted within the application that you are using (e.g. File Explorer), then the paste as .html file action will take the input text and paste a .html file.
If pasting files is accepted within the application that you are using (e.g. File Explorer), then the paste as .html file action will take the input data and paste a .html file.

### Paste text with AI

Expand Down