Skip to content

Sugggestion: When output format is markdown {{< video local.mp4 >}} should render to ![local](local.mp4) #12630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cscheid opened this issue Apr 26, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request shortcodes issues related to shortcodes video
Milestone

Comments

@cscheid
Copy link
Collaborator

cscheid commented Apr 26, 2025

Discussed in #12629

Originally posted by ajinkya-k April 25, 2025

Description

I noticed that when format: commonmark any video blocks such as {{< video local.mp4 >}} in the qmd file are rendered as:

[local](local.mp4)

May be it should render as:

![local](local.mp4)

so that a markdown previewer can directly display the video instead of just showing a link to it

@cscheid cscheid added enhancement New feature or request shortcodes issues related to shortcodes video labels Apr 26, 2025
@cscheid cscheid added this to the v1.8 milestone Apr 26, 2025
@cscheid cscheid self-assigned this Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request shortcodes issues related to shortcodes video
Projects
None yet
Development

No branches or pull requests

1 participant