comment-parser icon indicating copy to clipboard operation
comment-parser copied to clipboard

Generic JSDoc-like comment parser.

Results 18 comment-parser issues
Sort by recently updated
recently updated
newest added

Is there a way in options that I can change the comment style? For example: For JS: ``` /** * Description may go * over multiple lines followed by @tags...

Example in the playground: ```typescript // Invoking parser with default config covers the most genearic cases. // Note how /*** and /* blocks are ignored /** foo One-liner *//** @some-tag...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Looking at [unpkg](https://unpkg.com/browse/[email protected]/), you're currently publishing the tests, among other files. I don't think this is necessary. This PR limits the published files to those in `browser`, `es6`, `lib`, `package.json`,...

Let's give users a middle ground between 'compact' and 'preserve': ```js /** * @fires {CustomEvent} copied * Fires when the current url is successfully copied the user's system clipboard. *...

``` /** * This is an example function 2. * You may use it as you like. * @param {number} arg1 First argument. * @param {number} arg2 Second argument. *...

Hey 👋 ! First of all, great lib 😁, really useful, and I'm thankful for the effort you put in it 🤘. Now, sorry to be that guy, but when...

The `lineEnd` token isn't documented in the readme. This is can cause confusion because the others are documented. I'm not even sure what `lineEnd` is, but I have to update...

So, I'm trying migrate `jsdoc-md` to the `comment-parser` v1.x API, but can't find any documentation about how to configure tokenizers for parsing standard JSDoc tags. Here is the old code:...

example

Currently, `stringify()` takeas a `Block` and iterates over `Block.source`. Rendering only selected tags is not possible.

enhancement