Skip to content

Commit 2e423ab

Browse files
committed
code cleanup
1 parent 07815d9 commit 2e423ab

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "graphviz-markdown-preview",
33
"displayName": "Graphviz Markdown Preview",
44
"description": "Adds Graphviz support to VSCode's builtin markdown preview",
5-
"version": "0.0.4",
5+
"version": "0.0.5",
66
"publisher": "geeklearningio",
77
"engines": {
88
"vscode": "^1.20.0"

src/extension.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The module 'vscode' contains the VS Code extensibility API
33
// Import the module and reference it with the alias vscode in your code below
44
import * as vscode from 'vscode';
5-
var Viz = require('viz.js');
65

76
// this method is called when your extension is activated
87
// your extension is activated the very first time the command is executed
@@ -21,9 +20,6 @@ export function activate(context: vscode.ExtensionContext) {
2120

2221
if (lang && lang.match(/\bgraphviz\b/i)) {
2322

24-
var svg = Viz(code);
25-
26-
//return `<div class="graphviz">${svg}</div>`;
2723
return `<div class="graphviz">${code}</div>`;
2824
}
2925

0 commit comments

Comments
 (0)