From de6ab1d8afb7b54a29e00f75276d792a779f9d5c Mon Sep 17 00:00:00 2001 From: Adrian Calinescu Date: Thu, 17 Sep 2020 12:12:54 +0300 Subject: [PATCH] Fix syntax highlight --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e93248..69d150c 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Note that destreamer won't run in an elevated (Administrator/root) shell. Runnin Yes, yes you can. This may be useful if your main browser has some authentication plugins that are required for you to logon to your Microsoft Stream tenant. To use your own browser for the authentication part, locate the following snippet in `src/destreamer.ts`: -``` +```typescript const browser: puppeteer.Browser = await puppeteer.launch({ executablePath: getPuppeteerChromiumPath(), headless: false, @@ -80,7 +80,7 @@ const browser: puppeteer.Browser = await puppeteer.launch({ ``` Now, change `executablePath` to reflect the path to your browser and profile (i.e. to use Microsoft Edge on Windows): -``` +```typescript executablePath: "'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe' --profile-directory=Default", ```