Skip to content

ssight/CodeText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeText

A Chrome extension that changes the stylings of code blocks on pages you visit

What is it?

CodeText is an extension that changes the way code blocks look on pages that you visit, making them look more like the editor you use on your computer. It allows for more confortable and uniform reading experience.

Where can I get it?

Chrome Web Store

  • Get the extension on the Chrome Web Store here. (Note that I am not in control of the store page, so it may be out of date or modified.)

Get the latest version from GitHub

Method 1 (recommended)

  1. Go to the releases section and download the .zip file and extract it to a new folder.

  2. Go to chrome://extensions/ in Chrome and turn on the developer mode switch in the top right corner.

  3. Click on the new Load unpacked button and choose the folder where you've extracted CodeText to

Method 2 (might work)

⚠ This may not work and is not recommended. Do this only if you can't use the first method for some reason.

  1. Go to the releases section and download the .crx file.

  2. Go to chrome://extensions/ in Chrome and turn on thedeveloper mode switch in the top right corner.

  3. Drag the .crx file onto the Chrome window and click Add extension to install it.

FAQ

Help! I can't see a difference.

It's likely that you haven't configured CodeText to how you want it. Follow the instructions below:

Ok then, how do I customise the code blocks?

  1. Click on the CodeText icon in the top right hand corner and click Options

  2. Change whichever values you like. Make sure to put the units, for example 3px or 2vw. For padding, you can specify multiple values for the top and bottom and for the sides. For example 5px 10px would apply 5px to the top and the bottom and 10px to sides.

  3. Click on the Preview and check for errors button to see how the code block will look.

  4. Click the Save your settings button to, well save your settings

How can I contribute to CodeText?

Any form of contributions are welcome. If you notice a bug, feel free to open an issue, or if you have some better code, go ahead and send a pull request.

I still have an issue :/

Feel free to open an issue, I'll be happy to help :)