Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 2.48 KB

README.md

File metadata and controls

63 lines (37 loc) · 2.48 KB

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!