Skip to content

Bibliography doesn't show up with format: revealjs #271

@postylem

Description

@postylem

I have the following files

  1. test.bib:
@article{nymous84,
    author  = {Ann O. Nymous},
    title   = {Exemplar},
    year    = {1984}
}
  1. test.md:
---
title: Bib test
author: Me
bibliography: test.bib
---

## Introduction

Please refer to @nymous84.

### References

::: {#refs}
:::

When I run quarto render test.md --to html , I get a nice HTML page which has a reference inline (with hyperlink), a "References" section at the end, containing my bibliography. ✅

When I run quarto render test.md --to revealjs, I get a revealjs slides HTML which has the inline reference exactly as it should, and a "References" header section at the end, but it is empty. ❌

I tried playing with removing the #refs section from my .md file, adding suppress-bibliography: false, adding/changing reference-section-title, and it stays the same. No bibliography in revealjs slides, but yes bibliography in HTML (or other formats I tried, such as beamer).

I think this must have to do with the default revealjs style not specifying how to format the bibliography? Could I change that easily? In any case, I am quite new to Quarto (and I'm very impressed!), and don't know where to look to debug further, but this doesn't seem like the desired behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions