Download on the Visual Studio Marketplace.
-
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 🎉
.fsw
.fswiki
-
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
if you want export to .vsix
file, run below command.
npm run build
-
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.
Apache License 2.0. See LICENSE file for more information.
The Logo created by DALL-E 3 AI.