Expressions (as attributes?) are not formatted nicely
wooorm opened this issue · 0 comments
wooorm commented
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
latest
Link to runnable example
No response
Steps to reproduce
-<Editor
- children={`Hello, *world*!
+<Editor children={`Hello, *world*!
-Below is an example of JSX embedded in Markdown.
+ Below is an example of JSX embedded in Markdown.
-<div style={{padding: '20px', backgroundColor: 'tomato', color: 'black' }}>
+ <div style={{padding: '20px', backgroundColor: 'tomato', color: 'black' }}>
**Try and change the background color!**
-</div>`}
-/>
+ </div>`}/>Expected behavior
The backtick string in the attribute should not be indented
Actual behavior
indented
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response