quarto-dev / quarto-dev/quarto-cli

[HTML] add media embeding example as natively supported by Pandoc

Open
#10,313 9 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Jul 17, 2024.

documentation early-in-release
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

What would you like to do?

Give feedback or suggest an improvement

Description

Pandoc supports for Image syntax ![](media), a mimetype guesser which will in HTML use audio, video or embed tag.
https://github.com/jgm/pandoc/blob/8613aa39e8b5b8282f30b9fd48b04ec2595ec8eb/src/Text/Pandoc/Writers/HTML.hs#L1589-L1594

We could document this syntax better as it is hard to find and know. We could also link from there to video shortcode (https://quarto.org/docs/authoring/videos.html) as a better solution.

Some extensions exists for this already:

We don't have great PDF embedding built-in yet too, and we can maybe provide something better than default one. 🤔 I'll open an issue maybe keep track of the idea and get votes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.