livecodes/display-modes

Configure LiveCodes playground display modes via config, query parameters, or URL.

1.5k|262|Updated Jan 10, 2021
One-click install
npx skills add https://github.com/live-codes/livecodes --skill livecodes-display-modes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: livecodes/display-modes
Source: https://github.com/live-codes/livecodes/tree/main/.agents/skills/livecodes/display-modes
Command: npx skills add https://github.com/live-codes/livecodes --skill livecodes-display-modes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configuring how the LiveCodes playground renders its UI across embeddings and demos can be verbose and error-prone. This skill standardizes mode selection and related settings to ensure predictable layouts with minimal boilerplate.

Core Features & Use Cases

  • Supports multiple display modes: full, focus, simple, lite, editor, codeblock, and result for a range of embedding scenarios.
  • Works with config objects, URL query params, and direct templates to tailor UI for dashboards, documentation, or interactive tutorials.

Quick Start

Invoke the playground with a specific mode using config, URL parameters, or query strings to render the desired UI instantly.

Frequently Asked Questions about livecodes/display-modes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What display modes are available for the LiveCodes playground?

LiveCodes playground display modes include full, focus, simple, lite, editor, codeblock, and result, allowing you to control which UI elements are visible for various embedding and demonstration scenarios.

How do I configure LiveCodes playground UI for an embedded iframe?

Configure the LiveCodes playground UI for embeddings using a config object, URL query parameters, or direct templates to select a display mode and render the desired layout instantly.

Can I show only the code or result in a LiveCodes playground view?

Yes, you can show only the code or result by selecting the editor, codeblock, or result display modes through the configuration API or URL query parameters to tailor the UI.

What is the best way to create a read-only code demonstration in LiveCodes?

The best way to create a read-only code demonstration is using the codeblock or result display modes, which restrict editing and tailor the UI specifically for documentation or interactive tutorials.

Does the LiveCodes display mode configuration work with URL parameters?

Yes, LiveCodes display modes work with URL query parameters, allowing you to drive the UI configuration directly via the URL for embeddings and shared demo links.