Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.89 KB

CHANGELOG.md

File metadata and controls

61 lines (41 loc) · 1.89 KB

prettier-plugin-embed

0.4.15

Patch Changes

  • fbb5cae: Fix wrong options fallback behaviors:

    • Empty list of tags and comments shouldn't fallback to identifiers in options.
  • 5cadbfa: Fix unstable embedded markdown indentation when using the useTabs option: #91 (comment).

  • d132038: Make embedded css formatting more align with the built-in behavior.

0.4.14

Patch Changes

  • 442be39: Fix language plugin check false positives.

    throwIfPluginIsNotFound is discarded. Detailed explanation can be found at #84 (comment).

0.4.13

Patch Changes

  • b14447a: Fix a regression introduced in v0.4.11 caused by a wrong import specifier.

0.4.12

Patch Changes

  • 67d0726: Fix a regression of formatting template literals with only whitespaces:

    • Template literals with only whitespaces should be formatted to ``.

0.4.11

Patch Changes

  • 3639712: Set up changesets

  • f4a41e7: Deprecate identifier-named options.

    • Change options embedded<Language>Identifiers to embedded<Language>Comments and embedded<Language>Tags.
    • Remove option noEmbeddedIdentificationByComment because it is not needed anymore.
    • Remove option noEmbeddedIdentificationByTag because it is not needded anymore.
    • embeddedOverrides now takes the form:
      {"comments": [...], "options": {...}}
      or
      {"tags": [...], "options": {...}}
      or
      {"comments": [...], "tags": [...], "options": {...}}
      The property identifiers is kept for compatibility and will serve as fallbacks.
    • If comment- or tag-named options are not present, the plugin will fallback to use identifier-named options.
    • README updated to reflect the above changes.
    • NO breaking changes.