一个简单易用的代码实验室!
一个简单易用的代码实验室!
这是一个 [功能丰富](https://livecodes.io/docs/features/)、开源的、针对 React、Vue、Svelte、Solid、TypeScript、Python、Go、Ruby、PHP 以及 [90 多种语言/框架](https://livecodes.io/docs/languages/) 的 **客户端** 代码演练场。 ## 一个简单易用的代码实验室!
将此代码添加到您的页面中:
<script type="module">
import { createPlayground } from 'https://cdn.jsdelivr.net/npm/livecodes';
createPlayground('#container', {
params: {
markdown: '# Hello LiveCodes!',
css: 'h1 {color: dodgerblue;}',
js: 'console.log("Hello, from JS!");',
console: 'open',
},
});
</script>请查看文档以了解 <a href="https://livecodes.io/docs/features/embeds"" target="_blank" rel="noopener">嵌入式 Playgrounds。
Try it now on livecodes.io Documentations What makes LiveCodes different?
暂无开放 Issues,或尚未同步最近议题。