obsidian-pandoc-reference-list icon indicating copy to clipboard operation
obsidian-pandoc-reference-list copied to clipboard

CSS sytle for citation?

Open majdal opened this issue 1 year ago • 3 comments

This is a feature request:

Currently, the rendered reference appears in the same style as the rest of the text. It would be nice to be able to style it somehow (e.g. give the entire text a different colour, or maybe just the year).

majdal avatar Dec 28 '23 21:12 majdal

I would also love this feature.

Edit: One option is to modify the class .pandoc-citation using CSS snippets, which sufficed for my purpose.

ankitp94 avatar Feb 25 '24 16:02 ankitp94

@ankitp94 Do you mind sharing your CSS snippets? Thank you!

nhan000 avatar May 07 '24 09:05 nhan000

@nhan000 I put the following in a .css file in the snippets folder. You might need to change the color based on your theme.

.pandoc-citation {
    color: #BED754 !important;
    text-decoration: none !important;
    font-weight: none;
}

ankitp94 avatar May 07 '24 14:05 ankitp94