Skip to content

Preview Settings

Configure the in-app web preview for HTML, Markdown, and other files.

General

SettingDescription
Preview ModeIn-App: Opens in the built-in browser. Browser: Opens in the system default browser.
Use Current FileUse the currently open file for preview instead of the default (index.html).
Disable In-App CachingDisable browser caching in the in-app preview for fresh content on each refresh.
Show Console TogglerShow a button to toggle the JavaScript console in the preview.

Server Configuration

SettingDescription
HostHostname/IP for the preview server (default: localhost).
Server PortPort number for the local preview server.
Preview PortPort number used when opening the preview.

Different Ports

If Preview Port and Server Port are different, Acode will not start its own server. Instead, it will open the preview directly in the browser or in-app browser.

This is useful when you are running a server manually (e.g., React dev server, Vite, etc.) in the terminal.

Released under the MIT License.