Install
Download on the Visual Studio Marketplace.
Getting Started
Open your FreeStyle Wiki Article (.fsw , .fswiki extension file).
Open this extension with command pallet.
On macOS.
Command + Shift + p to open command pallet.
- Put
fslive .
- Select
FreeStyleWiki Live Viewer .
On Windows.
Ctrl + Shift + p to open command pallet.
- Put
fslive .
- Select
FreeStyleWiki Live Viewer .
Enjoy 🎉
Supported File Extensions
How to Contribute
Clone freestylewiki-live-viewer-vscode repository.
Install dependencies.
npm install
Make changes.
Compile TypeScript files.
npm run compile
Push F5 key on VSCode and enjoy debugging.
Run tests.
npm lint
npm test
Build
if you want export to .vsix file, run below command.
npm run build
How to add a grammar with paragraph plugins to the parser
Open settings.json
On macOS.
Command + Shift + p to open command pallet.
- Put
> settings .
- Select
Preferences: Open Settings (JSON) .
On Windows.
Ctrl + Shift + p to open command pallet.
- Put
> settings .
- Select
Preferences: Open Settings (JSON) .
Add fs-live-viewer.pluginParseSettings to the settings.json file.
- if you want to add pre plugin to the parser, add below code.
...
"fs-live-viewer.pluginParseSettings": [
{
"parseFSWTemplate": "{{pre\n$1\n}}",
"parseHTMLTemplate": "<pre>$1</pre>",
}
],
...
- Reopen FreeStyleWiki Live Viewer.
License
Apache License 2.0. See LICENSE file for more information.
The Logo
The Logo created by DALL-E 3 AI.
Reference
| |