• Stars
    star
    107
  • Rank 323,587 (Top 7 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created about 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Run your README.md ▶️ as an interactive notebook

Runme for Visual Studio Code Tests

This VS Code extension transparently opens markdown files (i.e. README.md) as runnable VS Code notebooks (with the click of a play button). Annotating markdown code blocks repo maintainers can enhance the interactive runbook-like experience of their markdown notebooks while they will continue to render properly in markdown viewers. Runme is open source and licensed under APL2.0.

💡 If you don't want the runme notebook, you can always right click on the .md file, click Open With... and select the text editor. To make your choice permanent pick "Configure default editor for...".

Text and notebook view side-by-side

Documentation

Please visit Runme's documentation to learn about its purpose, all its features, and how to get the most out of it:

Feel free to submit any issues you may have via the issue tracker or tell us about it on Discord.

Installation

Comprehensive install instructions are available in the docs at https://docs.runme.dev/install.

Usage

After cloning into a repo in VS Code, open any markdown file and notice that instead of opening the markdown file content, in renders a notebook where shell commands are rendered as runnable blocks. Please see Runme's Getting Started guide for step-by-step instructions.

If you don't want the runme notebook, you can always right click on the .md file, click Open With... and select the text editor. To make your choice permanent pick "Configure default editor for...".

Configure Cell Execution

Runme allows code blocks to be annotated with attributes to provide control over some aspects of execution, output, interaction, and other behavior. Please find a complete list in the docs.

For instance, the following annotation will run the command in the background, great for compilers/bundler with file watchers. To enable or disable any of the available options just click the respective cell's Configure button.

```sh { background=true }
npx tsc --watch
```

Check the complete list of configuration options at https://docs.runme.dev/configuration or take a look at the examples which are also illustrated in Runme's integration docs.

Maturing Software

Runme is in rapid development. Please be aware of following known limitations:

  • Only shell is currently supported on macOS, Linux, and Windows (WSL). PowerShell is not supported yet
  • Be aware of edge cases. Let us know when you hit any snags. We appreciate it!

We would love to hear feedback, appreciate your patience, as Runme continutes to harden. Get in touch please!

More Repositories

1

runme

DevOps Notebooks Built with Markdown
Go
1,144
star
2

vscode-marquee

💡 The missing VS Code homescreen that helps you to stay organized with minimal context switches
TypeScript
72
star
3

tangle

JavaScript state synchronization and event handling for various of different sandbox environments, e.g. worker threads, web workers, iframes, Visual Studio Code Webviews etc.
TypeScript
38
star
4

vscode-awesome-ux

Showcase of how to employ best practices to provide a high-fidelity user experience inside of VS Code extensions.
TypeScript
26
star
5

runme.dev

Project website for Runme VS Code Extension
TypeScript
25
star
6

vscode-server-action

A GitHub Action that allows to debug GitHub workflows using VS Code.
TypeScript
25
star
7

awesome-vscode-extension-utils

🎨 A curated list of delightful VSCode utilities to build awesome VSCode extensions and resources.
10
star
8

vscode-issue-explorer

VS Code extension to create and explore GitHub issues within VS Code
TypeScript
8
star
9

chatgpt-demo

Demo for NodeCongress 2023
JavaScript
6
star
10

blog-examples

Code examples from the Stateful Blog
JavaScript
5
star
11

runmejs

A JavaScript module to use Runme in Node.js, Deno or browser environments.
JavaScript
4
star
12

rollup-plugin-eta

η (Eta) loader plugin for rollup.js
TypeScript
3
star
13

devcontainer-features

A devcontainer feature that embeds Runme into you devcontainers
Shell
1
star
14

.github

Default community health files for Stateful projects.
1
star
15

web-extension-starter-kit

A starter template to build cross browser web extensions.
TypeScript
1
star
16

vscode-telemetry

A helper package for VS Code developers to send telemetry events from extension host and any webview.
TypeScript
1
star
17

backstage-plugins

TypeScript
1
star