hosseinmd / prettier-plugin-jsdoc

A Prettier plugin to format JSDoc comments.
MIT License
232 stars 28 forks source link

Unspecified or unrecognized code blocks should be left as they are #144

Closed beark closed 2 years ago

beark commented 2 years ago

Or there should be some other way of indicating I don't want them formatted. Additionally, I get some very weird results when trying to illustrate a thing with some ASCII-art in aforementioned code block.

Example input:

/**
 * ```
 * 10
 * |-- 3
 * `-- 4
 * ```
 */

Output:

/**
 * 10
 *
 *     2@^5!~#sdE!_TABLE
 *
 *     `-- 4
 */

No idea what that's even trying to do!

hosseinmd commented 2 years ago

Plugin thing that is a table but can't format it completely because that wasn't correct table format. This is a bug in recognizing tables.