Skip to content

In HTML export, add reference text to link "title" attribute #25

Open
@bdarcus

Description

So that one can hover over link and see the reference data, as in latex pdf.

Activity

andras-simonyi

andras-simonyi commented on Jun 4, 2021

@andras-simonyi
Owner

Could you give a concrete example of the HTML markup to be generated?

bdarcus

bdarcus commented on Jun 4, 2021

@bdarcus
CollaboratorAuthor

Sure:

<a href="#target" title="foo bar">foo bar</a>

I suppose javascript could do similar; not sure.

But it seems like an easy and obvious addition; hence the suggestion.

andras-simonyi

andras-simonyi commented on Jun 4, 2021

@andras-simonyi
Owner

And what would be the exact value of the title attribute? The whole bibliography item in plain text form?

bdarcus

bdarcus commented on Jun 4, 2021

@bdarcus
CollaboratorAuthor

I think so, or perhaps some truncated version?

bdarcus

bdarcus commented on Jun 5, 2021

@bdarcus
CollaboratorAuthor

I just tested this, on Firefox. Looks fine without truncatation?

Screenshot from 2021-06-05 07-18-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      In HTML export, add reference text to link "title" attribute · Issue #25 · andras-simonyi/citeproc-el