/docker-syntaxhighlighter

🐳 Docker image to build SyntaxHighlighter javascript plugin

Primary LanguageDockerfileMIT LicenseMIT

Latest Version Build Status Docker Stars Docker Pulls Code Quality
Become a sponsor Donate Paypal

⚠️ Archived project

This project is not maintained anymore and is archived. Feel free to fork and make your own changes if needed.

About

🐳 Docker image to build the javascript SyntaxHighlighter plugin.
If you are interested, check out my other Docker images!

💡 Want to be notified of new releases? Check out 🔔 Diun (Docker Image Update Notifier) project!

Usage

The default Docker command run.sh will build all official brushes and themes as well as custom ones from assets folder :

$ docker run -it --rm \
  -v "$(pwd)/sxh:/syntaxhighlighter/dist" \
  crazymax/syntaxhighlighter:latest

You can also use the official building instructions commands with gulp to customize your build :

$ docker run -it --rm \
  -v "$(pwd)/sxh:/syntaxhighlighter/dist" \
  crazymax/syntaxhighlighter:latest
  gulp --help

Build

You can build this image yourself if you want :

$ docker build -t sxh -f ./Dockerfile .
$ docker run -it --rm \
  -v "$(pwd)/sxh:/syntaxhighlighter/dist" \
  sxh

How can I help ?

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.