📜 ⬆️ ⬇️

Monospace and syntax highlighting in GMail

I have long since switched to using gmail as the only mail and I am happy :) But one was not enough - the ability to display the text of the letter in fixed-pitch format. This is simply necessary when reading any letters with “formatted” plain text signs ( and other ASCII-art ), because in gmail they look like this:

Gmail Fixed Font Toggle Off

There are several solutions in the world that allow using fixed font in gmail - but I haven’t found any easy-to-use and working with the modern version of gmail interface. Therefore, I wrote a grasemonkey script to solve this problem: userscripts.org/scripts/show/37471 - it adds a “Fixed Font” link in the right column of the letter view page that switches the display mode. Now The plates read normally:
')
Gmail Fixed Font Toggle On

The display state is preserved when working with gmail and even when closing the browser. I checked this script only in firefox, but I hope that it will work with other greasemonkey implementations - I will be grateful for testing and opinions.

And the second useful little thing. I have to read notifications about commits to various subversion repositories, and in a simple text form it is quite difficult to understand the essence of the changes. Gmail Fixed Font Toggle certainly helps, but not much. Therefore, I wrote a simple syntax highlighting: userscripts.org/scripts/show/38083 - and now it is more convenient to read letters from svn:

GMail SVN Highlighter

Again, welcome comments, opinions, as well as ideas - how else can you improve the work with gmail in simple ways?

UPDATE: A few days ago, GMail posted a new version of the interface, which broke many greasemonkey scripts. Therefore, I posted an update (ibid.). If your scripts have stopped working, please install the new version: Gmail Fixed Font Toggle and GMail SVN Highlighter .

Source: https://habr.com/ru/post/46467/


All Articles