Skip to content

lbeckman314/demonic-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demonic logo

demonic-docs

Demonic documentation for running code snippets in a sandboxed environment.

Try it out at liambeckman.com/code/demonic.

demonic in action

Installation

git clone https://github.com/lbeckman314/demonic-docs
cd demonic-docs

# install dependencies
npm install

# bundle webpack
npm run build

Then you can use your favorite browser to open sites/docs.html. Each code snippet should be editable and runnable.

demonic-docs

To convert the default docs.md file to a new docs.html file, enter:

cd site
pandoc -f markdown -t html -s docs.md -o docs.html -H head.html

Uninstallation

# remove this directory
rm -rfI demonic-docs