Code Monkey home page Code Monkey logo

codeblock-beautifier's Introduction

Code Block Beautifier

A chrome extension for highlighting codes of Medium Articles, but now, it can highlight codes in any websites that have <pre/> element.

You can watch a video to preview it.

中文文档请看这里

Install & Download

Check this on Chrome app store.

Then you can test it with this article.

Screenshot

Scrrenshot

How to use

How to use

Features

  • 👙 Beautify any code blocks wrapping in <pre/> automatically.

  • 👗 Beautify code blocks according to your languages preference.

  • 🔓 Auto detect what languages that the author defines

  • 🎁 Supporting Medium, StackOverflow, 简书, 知乎, W3C Plus.

  • 🎉 More than 80 themes are available. Can switch to any language highlight solutions.

  • 🎊 More than 20 language highlight themes are available. Can switch to any highlight themes you like.

Purpose

The main reason I built it is because Medium doesn't highlight our codes. Well, I know there are several ways to embed codes in the articles, but some people (like me) don't wanna create a gist or codesandbox project to highlight the codes. So most of time, I see this 🙄:

No highlight

What I expect is like this 😄:

Highlight

So I built an extension to beautify code blocks in Medium.

It can also be used for other websites that contain <pre/>. The only thing you need to do is to press the "Parse" button!

Future

There may have some problems that I haven't found for this extension yet. If you have any questions or find any bugs, please put an issue on this repo. Thank you!

codeblock-beautifier's People

Contributors

haixiangyan 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

codeblock-beautifier's Issues

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.