From c8263a9a1852648af79d64fb0d3c75bd457517a7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 27 Oct 2016 10:41:43 -0700 Subject: [PATCH] Add newlines and backticks --- docs/api/frameless-window.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/api/frameless-window.md b/docs/api/frameless-window.md index cab93bc7ba6f..7eeedae658ff 100644 --- a/docs/api/frameless-window.md +++ b/docs/api/frameless-window.md @@ -27,7 +27,9 @@ both the titlebar and window controls, you may want to have the title bar hidden and your content extend to the full window size, yet still preserve the window controls ("traffic lights") for standard window actions. You can do so by specifying the new `titleBarStyle` option: -#### Hidden + +#### `hidden` + Results in a hidden title bar and a full size content window, yet the title bar still has the standard window controls (“traffic lights”) in the top left. ```javascript @@ -35,7 +37,9 @@ const {BrowserWindow} = require('electron') let win = new BrowserWindow({titleBarStyle: 'hidden'}) win.show() ``` -#### Hidden-inset + +#### `hidden-inset` + Results in a hidden title bar with an alternative look where the traffic light buttons are slightly more inset from the window edge. ```javascript