[HexoPress] Preferences

HexoPress offers a range of preferences that let you tailor the editor’s behavior and appearance to your liking. Click “Preferences” in the left sidebar to get started.

“插图:Screenshot of the Preferences General tab”

General Settings

Blog Directory

Displays the path of the currently connected Hexo blog directory. If you want to switch to a different blog, click “Unbind” and then select a new directory.

Language

HexoPress supports both Chinese and English interfaces. The change takes effect immediately after switching.

Appearance Mode

Three appearance modes are available:

  • Light mode: The classic white background
  • Dark mode: An eye-friendly dark theme
  • Follow system: Automatically matches your operating system’s appearance setting

Auto-Save

When enabled, the editor will automatically save the file after you stop typing. If you prefer to control when saves happen, you can turn this off.

Editor Mode

  • Normal mode: A standard text editing experience, suitable for most users
  • Vim mode: Enables Vim keybindings for Vim enthusiasts

Default Filename

Sets the default filename format preference when creating new posts.

AI Settings

The AI tab is where you manage AI writing assistant provider configurations.

Managing Providers

You can add multiple AI service providers. Each provider requires:

  • Name: Used to identify and switch between providers in the AI panel
  • Endpoint: An OpenAI-compatible API endpoint URL
  • API Key: The service’s API key
  • Model ID: The specific model to call

“插图:Screenshot of the AI tab, showing the provider list and configuration form”

Once configured, you can select which provider to use in the editor’s AI panel. You can also remove provider configurations that are no longer needed at any time.