Code Monkey home page Code Monkey logo

color-splash-web-service's Introduction

Color Splash

Color Splash is a website and a service that you can use to pygmentize your code.

The story

I am a big fan of Jekyll and I use it for my blog. I used to write a lot about programming, therefore I often needed to add a code snippets in my posts. Jekyll makes it very easy, but the more posts you have that uses Jekyll's approach, the more difficult it would be to migrate to another platform. There is also a problem with Windows. It can be resolved, but if you are not a technical person, it is a pain in the ass.

A while ago I decided not to use the Jekyll's support for pygments and started to generate all the necessary HTML directly with Pygments. It solved one of the problems, but it still requires you to have Python and Pygments installed and configured correctly. If you are on Windows, you do not want to do that (believe me, I know).

Color Splash was born in one day out of my frustration with Python (no offence, pythonistas), and it resolves all of my problems with code snippets. You still get the power and flexibility of Pygments, but you do not need to worry about all the dependencies.

Usage

There are 3 ways you can use Color Splash:

  • Use it directly from the site (genius).
  • Use it as a service by posting to the http://color-splash.dzerviniks.com/html/generate/raw URL and sending a JSON object with code and lexer keys.
  • Fork it and create your own service :)

TODO

  • Add more lexers.

You can always find me on Twitter as @aigarsdz.

color-splash-web-service's People

Watchers

 avatar  avatar

Forkers

garfielder007

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.