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

No preview of markdown within block comments in JS/TS code #85571

Closed
narkowicz opened this issue Nov 26, 2019 · 2 comments
Closed

No preview of markdown within block comments in JS/TS code #85571

narkowicz opened this issue Nov 26, 2019 · 2 comments
Assignees

Comments

@narkowicz
Copy link

@narkowicz narkowicz commented Nov 26, 2019

Issue Type: Bug

Inline preview rendering of markdown content within block comments in JavaScript and TypeScript files is missing.

This appears to be a regression introduced in VS Code 1.40.x (still present in Insiders) that I couldn't find referenced in the change log? Feature made for happier reading and writing formatted TSDoc / JSDoc comments.

Steps to reproduce:

  1. Create a new document, set language mode to TypeScript or JavaScript.

  2. Paste the following code:

/**
 * This block comment used to render markdown formatting inline, such as:
 * **bold**, _italic_, `inline code` and...
 * 
 * ```ts
 * // Syntax highlighted code blocks
 * const example = print('hello');
 * ```
 */
  1. Expect the markdown within the code block to be formatted, but it is not

Repeating steps in Visual Studio Code 1.39.2 correctly renders preview of markdown within the block comment.

Screenshot shows Insiders top, Code 1.39.2 below:
Screen Shot 2019-11-26 at 1 32 13 pm

Does this issue occur when all extensions are disabled?: Yes

VS Code version: Code - Insiders 1.41.0-insider (abbf52b, 2019-11-25T10:09:34.712Z)
OS version: Darwin x64 18.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (1.86GB free)
Process Argv
Screen Reader no
VM 0%
Extensions: none
@vscodebot

This comment has been minimized.

Copy link

@vscodebot vscodebot bot commented Nov 26, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@narkowicz narkowicz changed the title No preview of markdown within block comments in code No preview of markdown within block comments in JS/TS code Nov 26, 2019
@mjbvz

This comment has been minimized.

Copy link
Contributor

@mjbvz mjbvz commented Nov 26, 2019

Duplicate of #85187

This extension now provides JSDoc markdown highlighting: https://marketplace.visualstudio.com/items?itemName=bierner.jsdoc-markdown-highlighting

@mjbvz mjbvz closed this Nov 26, 2019
@mjbvz mjbvz self-assigned this Nov 26, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.