Skip to content

rehypeCitation options.noCite, rehype plugins options #997

Answered by timlrx
alexsalce asked this question in Q&A
Discussion options

You must be logged in to vote

@alexsalce try the updated version of rehype citation, v2.1.1. This supports customisation at the post level. You can add a noCite property to the frontmatter like the example below:

---
title: 'Release of Tailwind Nextjs Starter Blog v2.0'
date: '2023-08-05'
lastmod: '2023-08-05'
tags: ['next-js', 'tailwind', 'guide', 'feature']
draft: false
summary: 'Release of Tailwind Nextjs Starter Blog template v2.0, refactored with Nextjs App directory and React Server Components setup.Discover the new features and how to migrate from V1.'
images: ['/static/images/twitter-card.png']
bibliography: references-data.bib
noCite: ["@Xie2016"]
---

Or use noCite: ["@*"] to display everything without citing.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@timlrx
Comment options

Comment options

You must be logged in to vote
1 reply
@alexsalce
Comment options

Answer selected by alexsalce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants