GithubHelp home page GithubHelp logo

sindresorhus / tab-size-on-github Goto Github PK

View Code? Open in Web Editor NEW
279.0 10.0 43.0 449 KB

Chrome extension - Make tab indented code more readable by forcing the tab size to 4 instead of 8

License: MIT License

CSS 100.00%

tab-size-on-github's Introduction

This extension is deprecated as GitHub added a tab size setting.


Tab Size on GitHub

Chrome extension - Make tab indented code more readable by forcing the tab size to 4 instead of 8

It's intentionally simple and I'm not interested in adding anything more to it.

Install

Install it from the Chrome Web Store or manually.

tab-size-on-github's People

Contributors

dgieselaar avatar jonathan-ostrander avatar kevva avatar markelog avatar mathiasbynens avatar sindresorhus avatar ultcombo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tab-size-on-github's Issues

You are my hero

Thank you so much. You've made me happier than this dog on the day his family took him to the beach.

doggo

adding option page

Hi, would you able to add an option page to let the user choose his favorite tab size (like 2 for me)?

Implemented by GitHub

See https://github.blog/changelog/2021-09-21-tab-size-rendering-preference/:

image

It makes sense to mention in the README that you can now configure the tab size at https://github.com/settings/appearance#tab-size-heading.


There is a slight difference between this extension and GitHub's native option, since the latter makes use of data-tab-size attribute which doesn't exist on raw.githubusercontent.com. But I don't think it matters ๐Ÿ˜„


P.S. if someone can make a comment on isaacs/github#170

Link to the fork for size 2

Hi!

I just made a fork for a size 2 tab: https://github.com/adriantoine/tab-size-on-github. I just changed the size 4 to size 2, I changed the name and the logo to avoid confusions on the Chrome/Opera store. Could you tell me if there's a license issue since I just tweaked your logo and plugin? And if everything's ok, would you consider adding a link in your readme to my fork?

Thanks!

[tutorial for posterity] How to make this tab-size: 2

My first question. Noticed a bunch of similar issues. Dropping this one here so people can learn how to tweak other people's extensions.

1)

image

2)

Edit content.css to be 2 spaces.

3)

Click on where it says manually

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.