An open API service indexing awesome lists of open source software.

https://github.com/live-codes/markdown-to-livecodes

Mardown code blocks to interactive LiveCodes playgrounds
https://github.com/live-codes/markdown-to-livecodes

Last synced: 4 months ago
JSON representation

Mardown code blocks to interactive LiveCodes playgrounds

Awesome Lists containing this project

README

          

# Markdown to LiveCodes

This repository contains a collection of packages that enable the conversion of Markdown code blocks to interactive LiveCodes playgrounds. [LiveCodes](https://livecodes.io) is an [open-source](https://github.com/live-codes/livecodes) code playground that allows you to write, run, and share code snippets in a [wide variety of programming languages](https://livecodes.io/docs/languages). See the [LiveCodes docs](https://livecodes.io/docs) for more information.

## Packages

This repository contains the following packages:

- `markdown-it-livecodes`: A [Markdown-it](https://github.com/markdown-it/markdown-it) plugin for converting code blocks to LiveCodes playgrounds.
- `marked-livecodes`: A [Marked](https://github.com/markedjs/marked) plugin for converting code blocks to LiveCodes playgrounds.
- `remark-livecodes`: A [Remark](https://github.com/remarkjs/remark) plugin for converting code blocks to LiveCodes playgrounds.

These plugins allow the seamless integration with most of the popular frameworks like Next.js, Astro, Docusaurus, VitePress, Storybook, etc.

## Usage

For usage, options and getting started with different frameworks, see the [LiveCodes docs](https://dev.livecodes.io/docs/markdown-to-livecodes).

## License

MIT License.