File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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
44import * 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 ( / \b g r a p h v i z \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
You can’t perform that action at this time.
0 commit comments