Replies: 1 comment 1 reply
-
@Nic0S Hello, did you manage this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In v0.17.0, it was possible to trigger a code block with three backticks (no space at the end) by modifying the built in CODE transformer like this:
v0.18.0 changed the CODE transformer: https://github.com/facebook/lexical/pull/6530/files#diff-bc77b598e2f79b614dd555952e1c10dab948dcfddfb11d7c6583235fa3e60815L81
So I think the equivalent would be:
But this no longer triggers the code block without a space after the backticks. Another solution I've tried is just using the pre-v0.18.0 version of the CODE transformer with the regExp override, like this:
But even this won't work without a space after the ``` backticks.
Has the underlying MarkdownShortcutPlugin behavior changed in a way that prevents triggering this without a space?
Beta Was this translation helpful? Give feedback.
All reactions