Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format cite-view list externally and include bibtex key #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nodec
Copy link

@nodec nodec commented Oct 25, 2017

Currently, the bibtex key cannot be displayed in the citation selection list. This patch adds a <span> item for the key and individual style classes for title, author and key. It further adds a default style sheet that restores the current layout (up to additionally showing the bibtex key).

The user can now customize this style in terms of the styles.less configuration file. For example, the bibtex key can be hidden by including .cite-view-key {display: none;}.

I suppose this patch does still not allow the user to reorder the items, though, unless some style directive allows for reordering the DOM tree. (?)

nodec added 2 commits October 25, 2017 09:25
…view-title, cite-view-key and cite-view-author in order to specify display style externally.
@nodec
Copy link
Author

nodec commented Oct 25, 2017

Concerning the failed tests: apm test seems to fail even without this patch in revision 1f08eeb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant