
內容簡介
LiveCodes Embed 是一款免費且開源的 WordPress 外掛,支援 90 多種語言和框架,讓使用者能輕鬆將 LiveCodes 的互動式程式碼遊樂場嵌入到文章中,提升內容的互動性和學習效果。
【主要功能】
• 支援 Gutenberg 和經典編輯器
• 只需貼上 URL 即可嵌入
• 無需配置或設定頁面
• 支援版本化/永久 URL
• 提供自我托管的 LiveCodes 實例過濾器
外掛標籤
開發者團隊
原文外掛簡介
LiveCodes is a free, open-source, feature-rich, client-side code playground supporting 90+ languages and frameworks.
This plugin registers livecodes.io as a trusted oEmbed provider, so embedding a playground is as simple as pasting its URL into the editor:
In LiveCodes, click Share -> “Get short URL”, and copy the share URL (or use any playground/project URL).
Paste the URL on its own line in the WordPress editor.
The URL is automatically replaced with a live, interactive playground.
A LiveCodes entry is also added to the block inserter (a variation of the core Embed block), so you can add an embed explicitly instead of pasting.
Features:
Works in the block editor (Gutenberg) and the classic editor.
No configuration, no settings page, no data stored.
Supports versioned/permanent URLs (e.g. https://v47.livecodes.io/?x=…).
Filters (livecodes_embed_url_pattern, livecodes_embed_provider_endpoint) for self-hosted LiveCodes instances.
External services
This plugin connects to the LiveCodes oEmbed API to render embeds. When a LiveCodes URL is embedded in a post, your WordPress server sends that URL to https://livecodes.io/oembed to retrieve the embed HTML. The published page then loads the interactive playground from livecodes.io in visitors’ browsers, which transmits standard HTTP request data (such as IP address and user agent) to livecodes.io.
This happens only for posts that contain LiveCodes embeds. No other data is collected or transmitted by this plugin.
Service provider: LiveCodes — Terms — Privacy policy
