fix: make media-ref inline with block: false

raw() defaults to block mode which wraps output in <pre><code>,
breaking list-item rendering. block: false keeps it inline.

Addresses PR #9 review feedback.
This commit is contained in:
engineering Agent 2026-05-15 21:39:28 -07:00
parent 0700c35310
commit 8b9d156166

View file

@ -27,7 +27,7 @@
// Produces a <code data-lang="jellyfin-media"> element in HTML output
// that the Jellyfin plugin can parse and link to the player.
#let media-ref(id, title) = {
raw(lang: "jellyfin-media", id + "|" + title)
raw(lang: "jellyfin-media", id + "|" + title, block: false)
}
// Render a list of media references as a formatted section.