From ad2b0c37bff8f43299fb0fd07b59c77cb5de0a90 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 13 Feb 2024 12:07:32 +0000 Subject: [PATCH] Fixed formatting --- reference/configuration.md | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/reference/configuration.md b/reference/configuration.md index ac28b95..cb36223 100644 --- a/reference/configuration.md +++ b/reference/configuration.md @@ -18,11 +18,11 @@ Pear versioning is automatic. The `package.json` file does **not** require a ver ## The `package.json` `pear` field. -### `pear.name` +### `pear.name ` The name of the application. Overrides `package.json` `name`. -### `pear.builtinsMap` Terminal Applications Only +### `pear.builtinsMap ` Terminal Applications Only Terminal Applications run on the [`bare`](https://github.com/holepunchto/bare) JavaScript runtime, which has a very small core so code with expects say, an `fs` module will throw MODULE_NOT_FOUND @@ -45,87 +45,87 @@ An example `package.json`: > In future this option may also apply to Desktop Applications. -### `pear.gui` +### `pear.gui ` Graphical User Interface configuration options. -#### `pear.gui.width` +#### `pear.gui.width ` Window width (pixels). -#### `pear.gui.height` +#### `pear.gui.height ` Window height (pixels). -#### `pear.gui.x` +#### `pear.gui.x ` Horizontal window position (pixels). -#### `pear.gui.y` +#### `pear.gui.y ` Vertical window position (pixels). -#### `pear.gui.minWidth` +#### `pear.gui.minWidth ` Window minimum width (pixels). -#### `pear.gui.minHeight` +#### `pear.gui.minHeight ` Window minimum height (pixels). -#### `pear.gui.maxWidth` +#### `pear.gui.maxWidth ` Window maximum width (pixels). -#### `pear.gui.maxHeight` +#### `pear.gui.maxHeight ` Window maximum height (pixels). -#### `pear.gui.center` (default: `false`) +#### `pear.gui.center ` (default: `false`) Center window. -#### `pear.gui.resizable` (default: `true`) +#### `pear.gui.resizable ` (default: `true`) Window resizability. -#### `pear.gui.movable` (default: `true`) +#### `pear.gui.movable ` (default: `true`) Window movability. -#### `pear.gui.minimizable` (default: `true`) +#### `pear.gui.minimizable ` (default: `true`) Window minimizability. -#### `pear.gui.maximizable` (default: `true`) +#### `pear.gui.maximizable ` (default: `true`) Window maximizability. -#### `pear.gui.closable` (default: `true`) +#### `pear.gui.closable ` (default: `true`) Window closability. -#### `pear.gui.focusable` (default: `true`) +#### `pear.gui.focusable ` (default: `true`) Window focusability. -#### `pear.gui.alwaysOnTop` (default: `false`) +#### `pear.gui.alwaysOnTop ` (default: `false`) Set window to always be on top. -#### `pear.gui.fullscreen` (default: `false`) +#### `pear.gui.fullscreen ` (default: `false`) Set window to fullscreen on start. -#### `pear.gui.kiosk` (default: `false`) +#### `pear.gui.kiosk ` (default: `false`) Set window to enter kiosk mode on start. -#### `pear.gui.autoHideMenuBar` (default: `false`) +#### `pear.gui.autoHideMenuBar ` (default: `false`) Hide menu bar unless Alt key is pressed (Linux, Windows). -#### `pear.gui.hasShadow` (default: `true`) +#### `pear.gui.hasShadow ` (default: `true`) Window shadow. @@ -137,19 +137,19 @@ Set window opacity (0.0 - 1.0) (Windows, macOS). Enable transparency. Must be set for opacity to work. -#### `pear.gui.backgroundColor` (default: "#000" non-transparent, "#00000000" transparent) +#### `pear.gui.backgroundColor ` (default: "#000" non-transparent, "#00000000" transparent) Background color (Hex, RGB, RGBA, HSL, HSLA, CSS color). -### `pear.stage` +### `pear.stage ` Staging configuration options. -#### `pear.stage.entrypoints` +#### `pear.stage.entrypoints ` An array of entrypoints as staging start-points in addition to (deduped) main entry point. -#### `pear.stage.ignore` +#### `pear.stage.ignore ` An array of file paths to ignore relative to `package.json` file. @@ -157,7 +157,7 @@ An array of file paths to ignore relative to `package.json` file. File watching configuration options. -#### `pear.watch.reload.page` (default: `"refresh"`) +#### `pear.watch.reload.page ` (default: `"refresh"`) String may be: