Skip to content

Conversation

moppius
Copy link
Contributor

@moppius moppius commented Jul 28, 2023

I figured it'd be nice to support YouTube embeds neatly out-of-the-box - please point me in the right direction if this is already supported and I missed it!

Example project .md would look like this, nice and simple:

# Teaser trailer

The footage for this trailer was all captured in real-time at 30fps using ray-traced reflections in an internal prototype engine.

{{ youtube(id="LXo0WdlELJk") }}

Ends up looking something like this:
image

You can also supply a custom class argument if you want to style it further.

@moppius
Copy link
Contributor Author

moppius commented Jul 28, 2023

I recommend squashing & merging this if you accept it, since I messed up the spacing and had to make two commits! 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant