Slash command: Toggle Full Width

Would be nice to be able to toggle between full width and non-full widh view without having to go into settings.

Suggestion:
add a forward slash command for toggling this feature

1 Like

Agree, the /Toggle Full Width slash command should be there for symmetry/consistency with /Toggle Dark Mode.

As a workaround/extension I find it more flexible to make documents full width by giving them a styling tag (Guide: data attributes):

CSS
#document[data-document-tags~="full-width"] {
  margin-left: 15px;
  max-width: unset;
}
#document:not([data-document-tags~="full-width"] {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

This reduces the problem to toggling a tag with a shortcut for which there are no clean solutions yet, but can be soon. Scrolling to the title and manually tag is still faster than going to the settings though.

I think there was some CSS somewhere to just make a subtree wider as well.

1 Like

The slash command got implemented a while ago. Just type /width:

1 Like