We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code
/** * ``` * @NgModule({ * providers: [ ] * }) * export class AppModule { } * ``` * * @export * @class OAuthInitService */ export class MyClass {}
Expected behavior:
When you mouse over the element you should see properly formatted code when a decorator is used within a jsdoc code fence.
Actual behavior:
When you mouse over the element to see the jsdoc the code fence block displays incorrectly when using decorators:
If you prefix the @NgModule with a \ so it becomes \@NgModule. Then the code displays properly, however the \ is still present:
@NgModule
\
\@NgModule
The text was updated successfully, but these errors were encountered:
You have a markdown code fence in a JS Doc comment block; we do not intermix these DSLs for the purpose of comment parsing.
You can see that the JS Doc "examples" do not use code fences: https://jsdoc.app/tags-example.html
Sorry, something went wrong.
@RyanCavanaugh Then shouldn't/couldn't the example code be formatted?
@TheColorRed Kinda harsh that your issue got closed without a workaround, or without even acknowledging that a solution exists.
I've always been unable to decorate inside JSDoc examples. Looks like there is finally an issue that they are (respectfully) keeping open:
#47679
No branches or pull requests
Code
Expected behavior:
When you mouse over the element you should see properly formatted code when a decorator is used within a jsdoc code fence.
Actual behavior:
When you mouse over the element to see the jsdoc the code fence block displays incorrectly when using decorators:
If you prefix the
@NgModule
with a\
so it becomes\@NgModule
. Then the code displays properly, however the\
is still present:The text was updated successfully, but these errors were encountered: