From ada45c1bea838e5f38f24fe37e558c1b7959ae28 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 16 Apr 2020 20:40:45 +0530 Subject: redo pandoc commands to print fragments only --- docs/posts/color_conundrum/index.html | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) (limited to 'docs/posts/color_conundrum') diff --git a/docs/posts/color_conundrum/index.html b/docs/posts/color_conundrum/index.html index f732fd0..0ba7aa5 100644 --- a/docs/posts/color_conundrum/index.html +++ b/docs/posts/color_conundrum/index.html @@ -2,6 +2,7 @@ + @@ -37,27 +38,7 @@ Color Conundrum
- - - - - - - color_conundrum - - - - -

This piece aims to highlight (pun intended) some of the reasons behind my color free editor setup.

+

This piece aims to highlight (pun intended) some of the reasons behind my color free editor setup.

Imagine highlighting an entire book because all of it is important. That is exactly what (most) syntax highlighting does. It is difficult for the human eye to filter out noise in rainbow barf. Use color to draw attention, not diverge it.

At the same time, a book devoid of color is boring! What is the takeaway from this 10 line paragraph? What are the technical terms used?

Prose and code are certainly different, but the fickle minded human eye is the same. The eye constantly looks for a frame of reference, a focal point. It grows tired when it can’t find one.

@@ -65,13 +46,15 @@

Without highlighting (far left), it is hard to differentiate between comments and code! The florid color scheme (far right) is no good either, it contains too many attention grabbers. The center sample is a healthy balance of both. Function calls and constants stand out, and repetitive keywords and other noise (let, as) are mildly dimmed out. Comments and non-code text (sign column, status text) are dimmed further.

I’ll stop myself before I rant about color contrast and combinations.

- -
- Hi. Subscribe + Hi. +

I'm Akshay, I go by nerd or nerdypepper on the internet.

I am a compsci undergrad, Rust programmer and an enthusiastic Vimmer. -- cgit v1.2.3