mrv1k / bracketless Goto Github PK
View Code? Open in Web Editor NEWChrome extension makes text between brackets collapsible
License: ISC License
Chrome extension makes text between brackets collapsible
License: ISC License
Example: First sentence in the chapter Values & Types
@ https://github.com/getify/You-Dont-Know-JS/blob/master/up%20%26%20going/ch1.md#values--types
Before | After |
---|---|
(see Chapter 2). Loops (see "Loops") |
(......see "Loops") |
(......see "Loops")
(...
element contains data="see Chapter 2"
...s
element contains data="). Loops ("
This gets untouched see "Loops")
DOMnote
<p> tag has complex inner structure
Original text: Can be found by scrolling 2 sentences up @ https://github.com/getify/You-Dont-Know-JS/blob/master/up%20%26%20going/ch1.md#loops
Found here:
https://github.com/getify/You-Dont-Know-JS/blob/master/es6%20%26%20beyond/ch3.md#modules
Can be found by searching:
(static analysis and error assertion apply)
I'm hiding text is by setting its font-size to 0
However, that overrides default font size so that it can not be inherited
To reverse that I have to use a hard set value (1 rem in this case)
Desired:
A way to hide text without size mutation.
"display: none" gets suggested a lot but that will not fix the issue and instead move it to display land
One solution is to store & restore font size via JS but I want to try to do it with CSS before
It is supposed to work from the active tab automatically without any background page direct interactions.
Page example https://en.wikipedia.org/wiki/Google
Doesn't collapse brackets with links inside:
Error in response to storage.get: SyntaxError: Invalid regular expression: /Java\, C++\, etc\./: Nothing to repeat
Breaks on
(Java, C++, etc.)
6th paragraph @ https://github.com/getify/You-Dont-Know-JS/blob/master/async%20%26%20performance/ch5.md#web-workers
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.