> For the complete documentation index, see [llms.txt](https://alix-lahuec.gitbook.io/zotero-roam/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alix-lahuec.gitbook.io/zotero-roam/customization/other/copy_settings.md).

# Copy Settings

## Always Copy

This option applies to Library Search only. If toggled, when a search result is selected, its reference will be copied to the clipboard - even if Quick Copy isn't in use. The format used to copy the reference will be the default format (see below).

## Default Format

This setting will determine the format used in Always Copy, Quick Copy, and the "Copy as default" button when viewing item metadata. You can use one of the presets, or create your own template.

#### Presets

```javascript
// Citation
[Author et al. (2022)]([[@itemCitekey]])

// Citekey
@itemCitekey

// Page reference
[[@itemCitekey]]

// Raw
itemCitekey

// Tag
#[[@itemCitekey]]
```

#### Custom template

If the presets don't fit your needs, you can also specify a custom template. Here are the replacements you can use:

* {{key}} - the item's citekey (`itemCitekey`)
* {{authors}} - the item's creators summary (`Author et al.`)
* {{title}} - the item's title
* {{year}} - the item's year of publication, if available

```javascript
// [{{authors}} ({{year}})]([[@{{key}}]])
[Author et al. (2022)]([[@itemCitekey]])

// {{=: {{authors}} ({{year}}) | {{embed: [[@{{key}}]] }} }}
{{=: Author et al. (2022) | {{embed: [[@itemCitekey]] }} }}
```

## Override QuickCopy

If the specified key is pressed when selecting an item from Search results, the extension will always show the item's metadata - even if Quick Copy is enabled.&#x20;

You can use this to occasionally override Quick Copy.

## Use Quick Copy (default)

If toggled, Quick Copy will be enabled by default.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://alix-lahuec.gitbook.io/zotero-roam/customization/other/copy_settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
