docs: fix ipc highlight lines (#50169)

Co-authored-by: Dilukshan <65407969+dilukshann7@users.noreply.github.com>
This commit is contained in:
Erick Zhao
2026-03-09 17:16:06 -07:00
committed by GitHub
parent 2ba4872d2c
commit d4cbd6cd7d

View File

@@ -50,7 +50,7 @@ sections.
In the main process, set an IPC listener on the `set-title` channel with the `ipcMain.on` API:
```js {6-10,22} title='main.js (Main Process)'
```js {7-11,23} title='main.js (Main Process)'
const { app, BrowserWindow, ipcMain } = require('electron')
const path = require('node:path')