mirror of
https://github.com/brokensandals/obsidian-paste-quote-plugin.git
synced 2026-07-22 05:37:56 +00:00
add Cite Reference command docs
This commit is contained in:
parent
61766f9fe1
commit
77eed9ebec
3 changed files with 10 additions and 2 deletions
10
README.md
10
README.md
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This is a small [Obsidian](https://obsidian.md/) plugin to help with formatting and citing quotations when pasting them from the clipboard. Currently, citation support only applies to quotes pasted from the Kindle app, and is focused on generating [Pandoc-style citations](https://pandoc.org/chunkedhtml-demo/8.20-citation-syntax.html).
|
||||
|
||||
The plugin also contains a command to help paste references from e.g. Zotero into the `references` section of the note's front matter.
|
||||
The plugin also contains a command to help paste references from e.g. Zotero into the `references` section of the note's front matter, and a command to insert a Pandoc-style citation for an item from the references section.
|
||||
|
||||
## Paste Quote command
|
||||
|
||||
|
|
@ -69,3 +69,11 @@ references:
|
|||
```
|
||||
|
||||
Running the `Paste CSL YAML` command will add the references from the clipboard into your note's front matter. The advantage over just pasting it directly into the front matter yourself is that if your note _already_ has a `references` section in its front matter, the command will add the new references onto the existing list, and will warn you if there are any duplicate IDs.
|
||||
|
||||
## Cite Reference command
|
||||
|
||||
If you just want to insert a Pandoc-style citation to one of your references, without pasting a quote, you can use the `Cite Reference` command. This will open a fuzzy-finder for choosing the reference, then add the citation for the chosen reference, as shown below.
|
||||
|
||||

|
||||
|
||||
![The document after the Cite Reference command inserted a citation in the format \[@copp2011a\]](docs/cite-ref-post.png)
|
||||
|
|
|
|||
BIN
docs/cite-ref-post.png
Normal file
BIN
docs/cite-ref-post.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 255 KiB |
BIN
docs/cite-ref-pre.png
Normal file
BIN
docs/cite-ref-pre.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 246 KiB |
Loading…
Reference in a new issue