Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Latest commit

 

History

History
51 lines (26 loc) · 1.58 KB

SAMPLES.md

File metadata and controls

51 lines (26 loc) · 1.58 KB

SAMPLES

Screenshots of pallor in action! The editor is Sublime Text 2 with the Soda Dark theme (although you can't see much of it). The font is Inconsolata, with improved hinting from Google Fonts.

C

The code is from the main function for one of my projects.

C

Go

The code is from Cobra.

Go

Ruby

This is from Gollum.

Ruby

CSS

This is a fragment of the CSS that GitHub uses to style Markdown. I think I got it from cutemarked.

CSS

Diffs and patches

This diff is part of a changeset that I submitted to Cobra.

Patch

Markdown

This is a fragment of the pallor README.

Markdown

Here's another sample from the same document. This shows how pallor looks when you select text. Note the contrast between the dark gray links (comment color) and the selection highlighting. Personally I think it's pretty good.

Markdown selected

JSON and YAML

These are some sample files that I used to test jgtr. Note how the JSON keys are highlighted differently from the values. Due to the issues with the TextMate JSON grammar, this is only possible through a messy hack.

JSON

YAML