Skip to content

Preview your changes

To preview your content in Visual Studio CodeCursorZedJetBrains IDEs, you can run Zensical within a terminal window and display the output in a browser window.

  1. Open the terminal panelOpen the terminal panelopen the terminal panelopen the terminal panelCtrl+`macOSCmd+`WindowsCtrl+`LinuxCtrl+`. If you are running Zensical in a virtual environment, make sure the currect virtual environment has activated. Run zensical serve to start Zensical in preview mode.

  2. Open the Command PaletteOpen the Command PaletteOpen the command paletteOpen Find ActionCtrl+Shift+PmacOSCmd+Shift+PWindowsCtrl+Shift+PLinuxCtrl+Shift+P and type "Browser", then select Browser: Open Integrated Browser and point it at http://localhost:8000.

The built-in browser in VSCode makes it easy to preview your content.