Skip to content

Instantly share code, notes, and snippets.

@deizel
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deizel/beecf49f1e27bc4a4ba2 to your computer and use it in GitHub Desktop.
Save deizel/beecf49f1e27bc4a4ba2 to your computer and use it in GitHub Desktop.

Syntax highlighting

http://www.reddit.com/r/PHP/comments/3bhok2/github_syntax_highlighting_stop_making_me_read/

php

echo "I think he's implying that some evil person is making him read grey PHP code";
echo "on github and suggesting that they could use this syntax-highlighting thing";

console

$ echo 'Also useful for highlighting console output...'
Also useful for highlighting console output...
$ composer require --dev "phpunit/phpunit:*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing phpunit/phpunit (4.7.5)
    Loading from cache

phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment