Embeds
Create rich embed cards for external resources. Supports GitHub, HuggingFace, and custom URLs with automatic metadata fetching.
GitHub Repository
Section titled “GitHub Repository”{{</* embed platform="github" resource="HugoBlox/kit" type="repo" */>}}With thumbnail mode:
{{</* embed platform="github" resource="HugoBlox/kit" type="repo" thumbnail="true" */>}}HuggingFace Model
Section titled “HuggingFace Model”{{</* embed platform="huggingface" resource="microsoft/DialoGPT-medium" type="model" */>}}Custom URL
Section titled “Custom URL”{{</* embed url="https://example.com" title="Custom Title" description="A description" image="https://example.com/image.jpg" */>}}Parameters
Section titled “Parameters”| Parameter | Type | Default | Description |
|---|---|---|---|
platform | string | custom | github, huggingface, or custom |
resource | string | — | Resource identifier (e.g., owner/repo for GitHub) |
type | string | — | Resource type (e.g., repo, model) |
url | string | — | Custom URL (for custom platform) |
title | string | — | Override title (or auto-fetched from API) |
description | string | — | Override description |
image | string | — | Custom image URL for the card |
thumbnail | string | — | If "true", show compact thumbnail mode |
width | integer | 800 | Image width in pixels |
height | integer | 600 | Image height in pixels |
quality | integer | 80 | Image quality (1–100) |
Platform Details
Section titled “Platform Details”GitHub
Section titled “GitHub”Automatically fetches repository metadata (description, stars, language, etc.) via the GitHub API. Falls back gracefully if the API is unavailable or rate-limited.
HuggingFace
Section titled “HuggingFace”Fetches model/dataset information from the HuggingFace API.
Custom
Section titled “Custom”For any URL. Provide url, title, and optionally description and image for a rich card.