Skip to content

quarto.format.is_html_slide_output() returns true for format: html #13334

@cwickham

Description

@cwickham

isslides.lua:

Pandoc = function(content)
  quarto.log.output(quarto.format.is_html_slide_output())
end

notslides.qmd:

---
title: Untitled
format: html
filters:
  - isslides.lua
---

## Hello

On quarto render of notslides.qmd I get:

true
Output created: not-slides.html

Culprit might be:

isHtmlOutput = isHtmlOutput,
is_html_output = isHtmlOutput,
isHtmlSlideOutput = isHtmlSlideOutput,
is_html_slide_output = isHtmlOutput,

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpandoc-luaIssues with our Lua helper functions, filters, etc. in Pandoctriaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions