Skip to main content

intertext

Add Intertext inline images, GIFs, video, or audio waveforms to website headings and paragraphs. Use when integrating Intertext, placing media between words, or adapting an Intertext studio composition to a website.

ソース情報

リポジトリ
davidezhang/intertext
ソースの最終更新活動
2026年10月27日 06:35
検出された SKILL.md の言語
英語
スター
0
フォーク
0

intertext embeds media in typography

Embeds images, video, or audio waveforms between words in headings and paragraphs so media inherits the page typeface and colors.

Uses

Use when you want media to sit inside running text instead of separate figure blocks, and the result should match the host site styles.

Prerequisites

Web project you can edit; optional npm package intertext; React or web-component hosting.

How to use

Start from a page in your site (or an Intertext studio composition). Give media assets or a studio prompt; the skill guides React ArtifactPill or web-component integration so media lands between words in existing typography.

Limitations

Studio blob URLs are temporary; demo photos are not MIT-licensed; unrelated npm packages named intertext are out of scope.

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
3 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
intertext
description
Add Intertext inline images, GIFs, video, or audio waveforms to website headings and paragraphs. Use when integrating Intertext, placing media between words, or adapting an Intertext studio composition to a website.
license
MIT
metadata
{"author":"davidezhang","version":"0.1.0"}
# Intertext Intertext places media inside ordinary text flow. Use its canonical `artifact-pill` Web Component or the `ArtifactPill` React binding; preserve the site's existing typography and layout. The skill is an integration guide, while the component runs on the website. ## Integrate Inspect the relevant page, framework, package manager, existing dependencies, and media assets. Preserve the user's content and design direction; use media where it supports the sentence. A normal integration needs no studio UI, account, backend, or animation dependency. Read [the integration reference](references/integration.md) for installation, exact attributes, React usage, and media behavior. Check whether Intertext is already installed before adding a dependency. Use the versioned release or existing compatible package, and keep the lockfile. Do not substitute an unrelated npm package named `intertext`. Use real `<h1>`–`<h6>` and `<p>` elements containing static pills by default. Set `em` dimensions so the media scales with the type. Keep the sentence readable without the media, supply useful descriptions, and retain whitespace on both sides of each pill. Use the visitor's own assets or project assets. Studio uploads use temporary `blob:` URLs: copy the underlying file into the destination project and replace those URLs. A copied studio snippet does not bundle media. Do not treat the studio's demo photographs as MIT-licensed assets. For React, prefer `ArtifactPill` inside semantic text. `InlineArtifactsText` and `InlineArtifactText` are editor/placement controls that render a `div`; use them only when the user wants dragging or editing. They default to movable, so explicitly set `movable={false}` for a display-only wrapper. Do not place their `div` inside a heading or paragraph. Motion should enhance a complete static composition. Keep essential information available without hover; provide a keyboard/touch control if an action matters. Start audio paused, and play it from an explicit user action. For looping video, include a poster and a pause control, or keep playback opt-in. Respect reduced-motion behavior rather than overriding it to force autoplay. ## Check the result Run the destination project's relevant checks. Inspect the integrated page at a narrow phone width and desktop width: the sentence should wrap naturally, media should load, and the expanded pill should stay inside its container. Check focus/keyboard controls, touch behavior for any action, and reduced motion. Confirm there are no missing module/media requests or hydration errors. Report the files changed, how to edit the copy/media, and any check that could not be completed. Installing this skill or integrating the component does not itself publish the user's website.
GitHubで見る