Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/* in code string being interpreted as comment for markdox #14

Open
hergaiety opened this issue May 1, 2014 · 6 comments
Open

/* in code string being interpreted as comment for markdox #14

hergaiety opened this issue May 1, 2014 · 6 comments

Comments

@hergaiety
Copy link

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?

@antoniobrandao
Copy link

+1

@gberger
Copy link
Contributor

gberger commented Dec 3, 2014

Workaround:

'**/' + '*'

@gberger
Copy link
Contributor

gberger commented Dec 3, 2014

Or:

'**/\*'

@gberger
Copy link
Contributor

gberger commented Apr 15, 2015

Is this still the case?

@antoniobrandao
Copy link

Will test

@gberger
Copy link
Contributor

gberger commented Oct 6, 2015

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants