nhoizey’s avatarnhoizey’s Twitter Archive—№ 105,746

  1. …in reply to @dirtystylus
    @dirtystylus @eleven_ty You could also write almost standard Markdown: ![Barn with distant trees barely visible in the fog.](DSCF1433.jpg "Testing if **Paired Shortcodes** can take *Markdown* transformations"){.cinemascope} It gives you an img with title, that you can transform to figure with caption.
    1. …in reply to @nhoizey
      @dirtystylus @eleven_ty …and the {.cinemascope} part gives you a cinemascope class if you use the markdown-it-attr plugin: npmjs.com/package/markdown-it-attrs I prefer this over paired shortcodes, for content writers using any standard Markdown editor.
      1. …in reply to @nhoizey
        @dirtystylus @eleven_ty And, I forgot, you would have to run Markdown on the caption when you transform it from the image title. Looks pretty cumbersome explained like that, but it is done once, and content writers will always be able to use the standard image syntax.