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에서 보기