SwiftyMarkdown icon indicating copy to clipboard operation
SwiftyMarkdown copied to clipboard

Apply alignment to images

Open gunnarsson opened this issue 3 years ago • 0 comments

This change takes the text alignment from the current line and applies it to images. My use case is to center an image in the document, which I can now do by applying a e.g. h1 to it and setting h1 to be center aligned.

I also removed a code block that will (to the best of my understanding) never get run, as it's guarded by a #elseif !os(watchOS) inside an #if !os(watchOS).

gunnarsson avatar May 11 '21 11:05 gunnarsson