SwiftyMarkdown
SwiftyMarkdown copied to clipboard
Apply alignment to images
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)
.