citer icon indicating copy to clipboard operation
citer copied to clipboard

Provide button to copy template without the ref tags

Open roysmith opened this issue 1 year ago • 3 comments

I've just started using citer. So far, it looks very nice. Would it be possible to add a button to the "Named reference" section to copy only the {{cite xxx}} template without the enclosing <ref> tags? I often want that when I'm looking to drop something into a "Further reading" section or bibliography.

roysmith avatar Jan 28 '25 15:01 roysmith

The "Copy citation" button in the "Shortened footnote" section is a possibility, but it sometimes includes a |ref= parameter, which isn't necessary unless using shortened footnotes (sfn). Could you confirm that you'd still prefer a separate button for just the citation template, even with the existing "Copy citation" button and its occasional |ref= inclusion?

5j9 avatar Feb 10 '25 05:02 5j9

Oh, I hadn't even noticed that button. I don't use sfn so I just skipped right past that section. I've experimented with it a bit just now and it looks like it might indeed work. Let me work with that for a while and I'll see how things go, thanks.

roysmith avatar Feb 10 '25 15:02 roysmith

Hi! I've opened a pull request to address this. It adds a button to copy the template without the <ref> tags, making it easier to use in bibliographies or further reading sections.

PR: #71

webbrain-one avatar Jul 28 '26 15:07 webbrain-one