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
If the images are only at the top level, it may be possible to split the formatting by blocks and avoid the locations with images, but I haven't dealt much with non-text-only code, so I don't know from the top of my head how to do that.
You'll also need to pass in the column number of the selection as the #:indent argument, so that fmt knows how much indentation to use when adding newlines
Running the simple version of the formatter on code with inline images in DrRacket makes the images disappear, just like copy and pasting would.
It would be nice if there were a way to run the formatter and retain the inline images.
For completeness, here is the reformatter quickscript that I am using (which is obviously the root cause of the error).
The text was updated successfully, but these errors were encountered: