Skip to content

github action to run code in a markdown file and append the output to the markdown file

License

Notifications You must be signed in to change notification settings

NWylynko/markdown-code-runner

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

markdown-code-runner

github action to run code in a markdown file and append the output to the markdown file

Javascript

console.log('hello world from javascript')
hello world from javascript

Typescript

console.log('hello world from typescript')
hello world from typescript

JSX

import React from "react"
const App = () => <p>hello world from jsx</p>
export default App

rendered jsx

Python 2

print 'hello world from python 2'
hello world from python 2

Python 3

print('hello world from python 3')
hello world from python 3

Bash

echo 'hello world from bash'
hello world from bash

Shell

echo 'hello world from Shell'
hello world from Shell

About

github action to run code in a markdown file and append the output to the markdown file

Resources

License

Stars

Watchers

Forks