Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
note_templates [2022/03/03 05:42] – [Variables] dstillman | note_templates [2023/02/21 06:38] (current) – [Variables] Add hex code for new colors dstillman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Note Templates ====== | ====== Note Templates ====== | ||
- | |||
- | **This is draft documentation for the [[pdf_reader_preview|new PDF reader and note editor]] in Zotero 6, currently in beta.** | ||
===== Annotations ===== | ===== Annotations ===== | ||
Line 9: | Line 7: | ||
Templates support basic HTML, with variables within curly brackets. Here's the default template for highlights: | Templates support basic HTML, with variables within curly brackets. Here's the default template for highlights: | ||
- | < | + | < |
- | You can see that, by default, highlight annotations are added as a single paragraph, with the highlighted text in typographic quotes | + | You can see that, by default, highlight annotations are added as a single paragraph, with the highlighted text followed by the citation and any comment. Quotation marks are automatically added around the highlight. |
If you prefer to have the highlight text in a blockquote, it's a simple change: | If you prefer to have the highlight text in a blockquote, it's a simple change: | ||
Line 23: | Line 21: | ||
< | < | ||
- | Conditionals can also be used to test for specific values. Here, text highlighted in red becomes a header, text highlighted in blue becomes a blockquote, and all other highlights use a single paragraph: | + | Conditionals can also be used to test for specific values. Here, text highlighted in red becomes a header |
< | < | ||
- | < | + | < |
{{elseif color == '# | {{elseif color == '# | ||
{{if comment}}< | {{if comment}}< | ||
{{else}} | {{else}} | ||
- | < | + | < |
{{endif}} | {{endif}} | ||
</ | </ | ||
Line 39: | Line 37: | ||
* '' | * '' | ||
- | * '' | + | * '' |
+ | * omitted: Include quotation marks around text unless the highlight is placed within a blockquote | ||
+ | * " | ||
+ | * " | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
(Note that '' | (Note that '' |