* feat: add command to toggle clean mode * refactor: simplify wiki_link no-clean-mode logic * refactor: use more sensible clean-mode toggling logic * fix: fix clean-mode-off not lasting across reloads * refactor: move var declaration to where it's used * feat: add root data attribute for clean mode state This allows writing styles based on whether clean mode is currently enabled or disabled. * feat: reset clean-mode-off syntax color * feat: un-hide lua directives in clean-mode-off * style: format changes from 60379b1 * feat: rename 'Toggle Clean Mode' command 'Toggle Clean Mode' is now 'Toggle Markdown Syntax Rendering', and along with the change in semantics, now defaults to false. The associated variables have also been renamed. * docs: add MD syntax rendering command to docs
690 B
690 B
SilverBullet uses a “live preview” markdown editor. This mechanism is heavily inspired by Obsidian’s live preview mode.
It reduces visual noise by not constantly showing Markdown codes such as [SilverBullet website](https://silverbullet.md), only showing the underlying Markdown formatting code when the cursor is placed inside.
In SilverBullet, you can always see the underlying format by moving your cursor “inside.” Alt-clicking on any piece of formatted text will move your cursor there and reveal the underlying (markdown) code, or you can reveal it permanently with the Toggle Markdown Syntax Rendering command.