Skip to content

Embeds

Create rich embed cards for external resources. Supports GitHub, HuggingFace, and custom URLs with automatic metadata fetching.

{{</* embed platform="github" resource="HugoBlox/kit" type="repo" */>}}

With thumbnail mode:

{{</* embed platform="github" resource="HugoBlox/kit" type="repo" thumbnail="true" */>}}
{{</* embed platform="huggingface" resource="microsoft/DialoGPT-medium" type="model" */>}}
{{</* embed url="https://example.com" title="Custom Title" description="A description" image="https://example.com/image.jpg" */>}}
ParameterTypeDefaultDescription
platformstringcustomgithub, huggingface, or custom
resourcestringResource identifier (e.g., owner/repo for GitHub)
typestringResource type (e.g., repo, model)
urlstringCustom URL (for custom platform)
titlestringOverride title (or auto-fetched from API)
descriptionstringOverride description
imagestringCustom image URL for the card
thumbnailstringIf "true", show compact thumbnail mode
widthinteger800Image width in pixels
heightinteger600Image height in pixels
qualityinteger80Image quality (1–100)

Automatically fetches repository metadata (description, stars, language, etc.) via the GitHub API. Falls back gracefully if the API is unavailable or rate-limited.

Fetches model/dataset information from the HuggingFace API.

For any URL. Provide url, title, and optionally description and image for a rich card.