Loading repository dataโฆ
Loading repository dataโฆ
haixiangyan / repository
๐ A chrome extension for highlighting codes of Medium Articles
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
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.
Check this on Chrome app store.
Then you can test it with this article.
๐ 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.
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 ๐:
What I expect is like this ๐:
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!
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!