All code has custom tab size
- Desired tab size
On all websites, change the width of tab characters in code from the default 8 spaces wide to 4 spaces wide, or whatever other size you choose in the selector below. The setting affects all HTML
This is like my other style http://freestyler.ws/style/64280/github-better-sized-tabs-in-code, but it applies to all websites. However, it only works on properly marked-up code – this may not work on some sites that present their code in an unusual way.
Here is the text in the screenshot. After installing this style, you can paste this text into the left box on http://markdownr.com/ to see the style in action:
(This is a site where you can write text and code on the left and see it rendered on the right.) 1234 Tab-indented text in a code block See – in the rendered HTML, the tab is four spaces wide, instead of the default eight. That text has a tab character before it, not four spaces.
Applies to:all URLs
Installs:Created: Aug 09, 2012Last Updated: Mar 18, 2015
Created: Jan 28, 2014Last Updated: Jan 29, 2014
Created: Nov 11, 2014Last Updated: Mar 12, 2015
Created: Jan 18, 2014Last Updated: May 29, 2015
Created: Aug 30, 2014Last Updated: Jan 17, 2015
Created: May 30, 2010Last Updated: Sep 13, 2015
Created: Feb 09, 2006Last Updated: Nov 21, 2013
Created: Apr 18, 2014Last Updated: Apr 25, 2017
Created: Dec 22, 2009Last Updated: May 06, 2015