> ## Documentation Index
> Fetch the complete documentation index at: https://web2md.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompt Templates

> Customize how content is sent to AI with reusable prompt templates.

## Overview

Prompt Templates let you wrap your converted Markdown with instructions before sending it to an AI platform. Instead of manually typing "Summarize this article..." every time, create a template once and reuse it.

## Built-in templates

Web2MD comes with 4 ready-to-use templates:

| Template               | Prompt                                                                                     |
| ---------------------- | ------------------------------------------------------------------------------------------ |
| **Summarize**          | "Please summarize the following article concisely:"                                        |
| **Extract Key Points** | "Please extract the key points and main takeaways from this article as a bullet list:"     |
| **Tweet**              | "Please turn the following content into a concise, engaging tweet (under 280 characters):" |
| **Q\&A**               | "Please generate a list of questions and answers based on the following content:"          |

## How templates work

When you select a template and send content to AI, the template wraps your content:

```markdown theme={null}
Please summarize the following article concisely:

# Article Title

The actual converted Markdown content goes here...
```

The `{content}` placeholder in your template is replaced with the converted Markdown.

## Create a custom template

<Steps>
  <Step title="Open the Convert tab">
    Open the Web2MD popup and go to the **Convert** tab.
  </Step>

  <Step title="Click + Custom">
    Click the **"+ Custom"** button next to the template picker.
  </Step>

  <Step title="Fill in details">
    Enter:

    * **Name** — A short name for the template (e.g. "Code Review")
    * **Prompt** — The instruction text, using `{content}` as a placeholder
  </Step>

  <Step title="Save and select">
    Save the template. It will be automatically selected as the active template.
  </Step>
</Steps>

### Example custom template

**Name:** Code Review

**Prompt:**

```
Please review the following code and provide feedback on:
1. Code quality and best practices
2. Potential bugs or issues
3. Performance improvements

{content}
```

## Prompt preview

Hover over any template in the template picker to see a preview of the full prompt that will be sent to AI. This helps you verify the right template is selected before converting.

## Select a template

Choose your active template from the **template picker** in the Convert tab. The selected template is applied automatically whenever you use **Send to AI**.

## Edit or delete templates

In the Convert tab template picker, you can:

* **Edit** any custom template's name or prompt
* **Delete** custom templates you no longer need

<Info>
  Built-in templates cannot be edited or deleted, but you can create custom templates to override them.
</Info>
