File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ A collection of my favorite chocolate brands and my opinions about them.
4343 - not too sweet
4444 - 100% compostable packaging
4545 - fair trade
46+ - Endangered Species Chocolate almonds & sea salt
47+ - not too sweet
48+
4649
4750## Hot Cocoa
4851
Original file line number Diff line number Diff line change @@ -257,6 +257,12 @@ swap();
257257- css needs can be predefined in the bookmarklet as ` css`
258258- if pasted in the console or ran as chrome snippet instead, ` replace ()` becomes available for use and toggled css is modifiable as an argument
259259
260+ ### remove extra newlines (\n )
261+ ` ` ` js
262+ [... document .querySelectorAll (' code' )].forEach ( code => code .innerText = code .innerText .replaceAll (' \n\n ' , ' \n ' ))
263+ ` ` `
264+
265+
260266## Printing Pages
261267
262268### insert page break before selected element
You can’t perform that action at this time.
0 commit comments