Skip to content

ploomber/dash-react-syntax-highlighter

Repository files navigation

Dash react-syntax-highlighter

Live demo: dash_react_syntax_highlighter.ploomberapp.io

Installation

pip install dash_react_syntax_highlighter

Run demo locally

cd demo
pip install -r requirements.txt
python app.py

Open: http://localhost:8050

Documentation

Setup

npm install
pip install -r requirements.txt
pip install -r tests/requirements.txt

Development

npm run build
python demo.py

Release

# generate
npm run build
python setup.py sdist bdist_wheel
ls dist

# test artifact
pip install dash dist/dash_react_syntax_highlighter-0.0.1.tar.gz
python demo/app.py

# upload
pip install twine
twine upload dist/*

# clean up
rm -rf dist

About

Syntax highlighting for code snippets in your Dash apps.

Topics

Resources

License

Stars

Watchers

Forks