Copy as HTML. Can you hide the link?

edited November 18, 2021
Hi,
I'm trying to paste citations as html, but I want to hide the links under the title. Example:
I get this:

<div class="csl-entry">Angner, Erik &amp; George Loewenstein (2012) Behavioral economics <a href="https://doi.org/10.1016/B978-0-444-51676-3.50022-1">10.1016/B978-0-444-51676-3.50022-1</a>, in Philosophy of Economics, Elsevier, pp. 641–689.</div>

But I want to get this:

<div class="csl-entry">Angner, Erik &amp; George Loewenstein (2012) <a href="https://doi.org/10.1016/B978-0-444-51676-3.50022-1">Behavioral economics</a>, in Philosophy of Economics, Elsevier, pp. 641–689.</div>

I guess you can't achieve this by modifying the CSL template. Is there a way to do it?

If not, I know I can modify the template in such a way as to get the html code, but the problem is that I would get the raw code, everytime I copy a citation, and what I want to get is the formatted HTML (that's why I wanted to use "copy as HTML" instead). Am I right?
  • No, not possible. Only way I'd know to do this would be by writing a markdown instead of HTML citation style.
  • Ok, thanks. I will write a markdown citation style. Now how do I do to paste the formatted markdown everytime I copy a citation?
  • edited November 19, 2021
    Sorry not possible. I use that in the context of a Jekyll site, which auto converts on building.
    Best I can think of is copy into an md editor and then copy the output
Sign In or Register to comment.