markdox
markdox copied to clipboard
/* in code string being interpreted as comment for markdox
While making documentation for my gulpfile.js, the following code...
gulp.task('scripts', function() {
gulp.src(root.src+dir.scripts+'**/*.js')
.pipe(plugins.jslint({
undef: true,
unused: true
}))
.pipe(plugins.browserify({
debug: true
}))
.pipe(gulp.dest(root.dest+dir.scripts));
});
Gets parsed by markdox into
js') .pipe(plugins.jslint({ undef: true, unused: true })) .pipe(plugins.browserify({ debug: true })) .pipe(gulp.dest(root.dest+dir.scripts)); });
/**
Since the string on the 2nd line is being interpreted as the beginning of a new comment. Is there a solution for this?
+1
Workaround:
'**/' + '*'
Or:
'**/\*'
Is this still the case?
Will test
bump