HelpViewer integration plugin for Chromium engine - Chrome/Edge browser.
- The plugin checks for window.hvHelpFile configuration in your PWA/web app.
- If found, a new ❔ item appears in the right-click context menu.
- Clicking ❔ opens a HelpViewer tab with content based on the element ID and routing (per config).
- No config means no ❔ item shown.
To enable HelpViewer integration, follow these steps:
- Install the plugin in developer mode (Chrome Web Store submission not available).
- Add config to your PWA/web app.
- Create help file with chapter files matching your element IDs (e.g., downP-TopicTree.md) and routing configuration.
- Call git clone https://github.com/HelpViewer/PluginChromeHelpViewer in some folder on your local disk.
- Open extensions panel - chrome://extensions/
- Turn on Developer mode on right top corner
- Click button Load unpacked on left top line
- Select your folder from step 1
- You will see HelpViewer Help Integration 1.0 in your All Extensions list.
Define globally in your application:
var hvHelpFile = {
file: 'hlp-user/Help-__.zip',
viewer: 'https://helpviewer.github.io/index.html',
routing: false
//, extension: '.md'
}| Key | Meaning |
|---|---|
| file | Help file or repository raw reading path |
| viewer | URI with your copy of HelpViewer. Default: https://helpviewer.github.io/index.html |
| routing | If routing is true, then URI route is part of requested help file chapter file name |
| extension | Chapter file name extension. Default: .md |
When running the application from URI file:///C:/Repos/HelpViewer/index.html for element ID downP-TopicTree, the routing generates these URLs: