Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com

6.2.5 (2026-03-02)#

Bug fixes#

Support code folding of JSX elements and tags.

When reading properties in scopeCompletionSource, use the original object, not a prototype.

6.2.4 (2025-05-14)#

Bug fixes#

Fix a crash in the esLint helper when a rule's meta.docs isn't defined.

Properly dedent lines starting with an opening curly brace below composite statements like for/while.

6.2.3 (2025-02-12)#

Bug fixes#

Disable JavaScript completions in JSX context.

6.2.2 (2024-02-20)#

Bug fixes#

Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'.

6.2.1 (2023-08-28)#

Bug fixes#

autoCloseTags now generates two separate transactions, so that the completion can be undone separately.

6.2.0 (2023-08-26)#

New features#

Export a typescriptSnippets array and include TypeScript keyword completions in the default support extension when in TypeScript mode.

6.1.9 (2023-06-02)#

Bug fixes#

Make sure scopeCompletionSource doesn't try to complete property names that aren't simple identifier (such as numeric indices).

6.1.8 (2023-05-13)#

Bug fixes#

Stop completing keywords after . tokens.

6.1.7 (2023-04-19)#

Bug fixes#

Fix overeager JSX tag closing inside attribute values and in self-closing tags.

6.1.6 (2023-04-13)#

Bug fixes#

Fix a bug that allowed autoCloseTags to close JSX tags in JavaScript context.

6.1.5 (2023-04-04)#

Bug fixes#

Make TypeScript object type syntax foldable.

6.1.4 (2023-02-13)#

Bug fixes#

Make sure code in JSX context can be commented correctly.

6.1.3 (2023-02-02)#

Bug fixes#

Fix auto-closing of JSX fragments.

6.1.2 (2022-12-07)#

Bug fixes#

Automatic tag closing in JSX now works for namespaced and member-expression tag names.

6.1.1 (2022-10-24)#

Bug fixes#

Make completionPath handle ?. syntax.

6.1.0 (2022-09-20)#

New features#

The completionPath helper can now be used to find the object path to complete at a given position.

scopeCompletionSource provides a completion source based on a scope object.

6.0.2 (2022-07-21)#

Bug fixes#

Fix the source field in ESLint diagnostics to properly hold "eslint".

Fix (non-)auto indentation in template strings and comments.

6.0.1 (2022-06-29)#

Bug fixes#

Avoid completing variables/keywords in property or definition positions.

Fix a bug that broke local variable completion if JavaScript was parsed an overlay in an outer language.

6.0.0 (2022-06-08)#

Breaking changes#

Update dependencies to 6.0.0

0.20.1 (2022-06-01)#

New features#

localCompletionSource (included in the support extensions returned from javascript) now provides a way to complete locally-defined names.

0.20.0 (2022-04-20)#

New features#

The new autoCloseTags extension (included by default in the javascript language extension when jsx is configured) finishes JSX closing tags when you type a > or / character.

0.19.7 (2022-01-28)#

0.19.6 (2022-01-11)#

Bug fixes#

Remove accidentally released unfinished changes.

0.19.5 (2022-01-11)#

Bug fixes#

Add the function highlight modifier to variables used in tagged template expressions.

0.19.4 (2022-01-03)#

Bug fixes#

Fix highlighting of TypeScript private/public/protected keywords.

0.19.3 (2021-11-12)#

Bug fixes#

Add styling for private properties.

0.19.2 (2021-09-23)#

New features#

Use more specific highlighting tags for JSX attribute names and values.

0.19.1 (2021-08-11)#

Bug fixes#

Fix incorrect versions for @lezer dependencies.

0.19.0 (2021-08-11)#

Breaking changes#

Update dependencies to 0.19.0

0.18.0 (2021-03-03)#

Bug fixes#

Extend indentOnInput expression to cover closing JSX tags.

0.17.2 (2021-02-15)#

Bug fixes#

Improve highlighting tag specificity of defined function and class names. Add indentation information for JSX constructs

Support smart indent for JSX syntax.

0.17.1 (2021-01-06)#

New features#

The package now also exports a CommonJS module.

0.17.0 (2020-12-29)#

Breaking changes#

First numbered release.