vyleung / logseq-tidy-blocks-plugin Goto Github PK
View Code? Open in Web Editor NEWa Logseq plugin to remove whitespace and line breaks and hide block properties to keep blocks nice and tidy
License: MIT License
a Logseq plugin to remove whitespace and line breaks and hide block properties to keep blocks nice and tidy
License: MIT License
Hide strikethrough for done (cancelled) to make that readable.
This is a great plugin. I wish I know about it much earlier. Would have save me a lot of time.
My understanding is:
alt-t: remove whitespaces but not linebreaks.
alt-r: remove whitespaces including line breaks.
However, I think there is a common use case where white spaces and line breaks are removed. But multiple consecutive line breaks are reduced down to two line breaks, i.e. keep one empty line. The effect is as follows:
BEFORE:
line1
line 2
line 3
line 4
AFTER:
line1
line2
line 3
line4
Many web articles including novels frequently use empty lines between two paragraphs. It will look very crowded and condensed if all empty lines are removed.
Thank you. This is a wonderful plugin.
Hi!
I have the habit of creating a lot of empty space by pressing enter
repeatedly and I hoped this plugin would help me tidy up my notes. But since the whitespace then is in the form of a bunch of empty blocks, sadly this plugin does nothing.
Would it be possible to add the option of also removing empty blocks?
First thanks so much for making this plug in. It helped me a lot!
I'd like to request a feature:
A pain point for using pdf highlighter in Logseq is that the words at the end of a line stick together and don't have spaces. I usually have to manually edit every single word. Someone has built a tool to fix this but it's only available in Mac. I don't know if you could integrate this into your plugin?
Maybe by letting the user specify a binary for an extension, so you won't have to support all the programming language in the world.
The line break removal apparently is not working. When I copied text from pdf that has line breaks the plug in doesn't remove these.
Testing with a paragraph using Shift+Enter
and the plug in also doesn't work.
On Windows, this message often pops up since maybe double-control is not recognized by LogSeq for keymap conflicts?
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.