mrjvs / neatojs

Collection of neat JS tools
https://neatojs.com/
MIT License
18 stars 2 forks source link

Inline codeblocks does not get formatting #41

Open mrjvs opened 3 months ago

mrjvs commented 3 months ago

Describe the bug

Inline codeblocks does not get formatting if put inside an element, but does if theres whitespace around it.

Which package/app is affected (leave empty if unsure)

@neato/guider

Link to the code that reproduces this issue

No response

Steps to reproduce

  1. put this code in an MDX file
    
    {/* This doesnt format*/}
    <span>`code()`</span>

{/ This does format /} code()



### Expected Behavior

It should format in both cases

### Extra details

_No response_