On Tue, 31 May 2016 12:11:40 -0400 Paul W. Frields wrote:
You might want to file an enhancement request for Hyperkitty to add a feature for this.
I would have thought it was just css setup by whoever runs the hyperkitty web site to make it looks like whatever they want. If it is hard coded and not css, then hyperkitty needs a much much bigger enhancement request :-).
On 05/31/2016 11:23 AM, Tom Horsley wrote:
On Tue, 31 May 2016 12:11:40 -0400 Paul W. Frields wrote:
You might want to file an enhancement request for Hyperkitty to add a feature for this.
I would have thought it was just css setup by whoever runs the hyperkitty web site to make it looks like whatever they want. If it is hard coded and not css, then hyperkitty needs a much much bigger enhancement request :-).
It is indeed css. If you're comfortable with chrome's developer tools or firebug for firefox you need to find .email-body and add "font-family: monospace;".
If you'd prefer a Bookmarklet add this to your Bookmarks toolbar:
javascript:function loadJS(url,callback){var head=document.getElementsByTagName("head")[0],js=document.createElement("script"),done=false;js.src=url;js.onload=js.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;callback();js.onload=js.onreadystatechange=null;head.removeChild(js);}};head.appendChild(js);}loadJS("//code.jquery.com/jquery-2.2.4.js",function(){(function(){/***YOUR_CODE_FOLLOWS**/$('.email-body').css('font-family','monospace');/***YOUR_CODE_PRECEDES***/})()});
cut and paste that to an editor, remove the white space, then cut that and paste it to a bookmark and name it something like HyperKitty.
On click it loads jquery-2.2.4 and then uses that to add the css rule to the page.
On Tue, 2016-05-31 at 14:23 -0400, Tom Horsley wrote:
I would have thought it was just css setup by whoever runs the hyperkitty web site to make it looks like whatever they want. If it is hard coded and not css, then hyperkitty needs a much much bigger enhancement request :-).
Could be handy if it recognised <code> & </code>, and <pre> and </pre> tags in plain text message, so writers could mark-up their samples. Even to email readers sending and receiving plain text, marking up special content helps to identify where it begins and ends.