Text transformations plug

Hi, new SilverBullet user here. I have created a plug for text transformations. The plug can be used by selecting the text and then using the Run Command button (or shortcut) to choose the desired conversion.

Available transformations

  • Convert text to uppercase
  • Convert text to lowercase
  • Convert text to capitalize
  • Convert text to title case
  • Convert text to sentence case
  • Convert text to snake case
  • Convert text to camel case
  • Convert text to kebab case
  • Convert text to dot case
  • Convert camel case to snake case
  • Convert kebab case to snake case
  • Convert camel case to spaces

To install, open your PLUGS note in SilverBullet and add this plug to the list:

- github:mroovers/silverbullet-text-transform/textTransform.plug.js

Then run the Plugs: Update command.

It is known that operation in the mobile browser is somewhat limited, due to the operation of the browser.

8 Likes

Very cool plug, though I’m more interested in your theming! Would you mind sharing your space-style?

Thank you very much! The theme is my own take on the Dracula color palette. It is still a work in progress, the code is still a bit of a mess. I also made some visual adjustments to the TreeView plug so that it looks more like the explorer sidebar as in VS Code.

I will share another screenshot. At the moment my SilverBullet instance is full of personal notes. So I still need to set up a separate demo environment. Eventually I would like to make the theme available via GitHub.

Did you find the time to have a look at this?

Sorry, life got in the way for a moment

6 Likes

I was using a different Dracula theme template (I don’t remember where I got it).

This looks so much better. I am using this.

1 Like

Thank you so much!

No need to apologise haha.

already got stuck for a bit too long into tweaking small things for the treeview, I love it.

One thing I can’t seem to figure out is how to get selections back in the code blocks though. already tried changing every variable with “selection” in the name, but no luck. Probably missing something stupid.

1 Like

Thanks, good to hear you like it. :grin:

@montarion I am aware of the selection color problem. A little more contrast would indeed be nice. I will have to look into this further, as the variable has no effect on it.

There are other little things that need to be tweaked though. I am also not happy with the padding of list items with line wrapping.

I’ll be honest, I understand not liking certain aspects of your creation, but I do want you to know that the theme is phenomenal.

I’ve already starred and “watched” for updates because I reallllllllyyyyy like the theme.

Thanks @docfips, that is nice to hear! It’s just a minor annoyance. I just need to sit down and fix these things. :grin:

Hi @docfips and @montarion,

I know this isn’t quite the place for this. But I wanted to update you about some improvements in the theme.

  • Fixed editor selection color (also for code blocks)
  • Fixed interrupted background color in the TreeView with many open folders
  • Improved readability of text in the TreeView
  • And finally improved formatting for lists and tasks, with support for soft wrap while maintaining indentation.
2 Likes

That’s great! thank you

Looks great dude, thank you :slight_smile: