svelte-lexical 0.6.2 brings support for code diff inside a code block.

You can get into the diff mode by using the markdown shortcut (```diff-javascript
) followed by the space key.
There is also support for creating tables using the markdown shortcut now.
For instance, typing/pasting the following text and hitting the spacebar will convert it into a table.
| Column 1 | Column 2 | Column 3 |
| Row 1 | Data | More |
| Row 2 | Data | More |

There are a few more enhancements and bug fixes. Check out the release notes here.