Skip to content

lysoul147/Raw_Code_Highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raw Code Highlight

Chrome extension that replaces raw/plain-text code pages with a syntax-highlighted code view and keeps a toggle back to the original text.

Build

npm run build

This generates:

  • content.bundle.js at the repository root
  • dist/raw-code-highlight-chrome/ for Chrome loading
  • dist/raw-code-highlight-chrome.zip for sharing

Install locally

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select dist/raw-code-highlight-chrome/ after running the build
  5. For local files, open the extension card and enable Allow access to file URLs

What it does

  • Detects raw/plain-text code pages
  • Replaces them with a code view
  • Keeps a button to switch back to the raw page
  • Supports basic code-block folding on foldable lines

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors