gildas-lormeau / prettyprint Goto Github PK
View Code? Open in Web Editor NEWA chrome extension to pretty print JavaScript and CSS
Home Page: https://chrome.google.com/webstore/detail/nipdlgebaanapcphbcidpmmmkcecpkhg
A chrome extension to pretty print JavaScript and CSS
Home Page: https://chrome.google.com/webstore/detail/nipdlgebaanapcphbcidpmmmkcecpkhg
Would it be possible to pretty print PHP dumps like var_dump and print_r ?
Or can this not do inner page pretty printing?
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
Steps to reproduce the problem:
What is the expected behavior?
Code after replace(/^([+-/*]) should be colored as JS code and not as JS comment
What went wrong?
/* was detected as a multi line comment start token.
although it was escaped with a \
Did this work before? No
Chrome version: 40.0.2214.111 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 16.0 r0
Given this code: https://gist.github.com/GusGold/c7bda112b07405b8e47cebe79bada5fa
Pretty print will render it as
like seen here: https://gist.githubusercontent.com/GusGold/c7bda112b07405b8e47cebe79bada5fa/raw/f84ec3cf6bbb039f89ef4c29a422044bcce11099/pretty-print-bug.js
The space between the $
and {
means that the templating no longer works if copying this code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.