Is toggle-section a good name for my plugin?

What the plugin does: you can use - or + in the headers to expand/shrink the whole section.

Q: does anyone have a better name? I think not everyone will search for such plugins with toggle section as first choice/ keywords?

Hi @Div_Div ,

Thanks for creating a plugin!

There is already a plugin that has a similar concept for the editor called code-fold.
So, a matching name like “preview-fold” or “section-fold” might make it easier to discover.

It looks like you already published it on the registry:

Please note that if you rename it, the existing plugin users won’t get updates under the new name.

Hi @craftzdog ,

Got it! I will then keep the name toggle-section as it is (they are 300 downloads already :smiley:), and at the same time I will update its readme in order to allow people search by the keyword fold. I think this is the most convenient approach.


A side note is that comparing with code-fold, toggle-section serves a very similar but a bit different UX:

  • code-fold: folds the code in the Editor, but no visual change in the Preview
  • toggle-section: allow toggling in the Preview, but no visual change in the Editor

Thank you for the suggestion, and appreciate your hard work on such a great tool!

Cool! Thanks for contributing to the community, @Div_Div :blush:
I’ll keep it going :flexed_biceps: