You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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