IBM / marked-it-cli

marked-it-cli
MIT License
5 stars 15 forks source link

Allow titles in included images #36

Closed cjcarpen closed 1 year ago

cjcarpen commented 1 year ago

Currently, the includes extension doesn't pull in images if if the image syntax includes a title, e.g.:

![Enter image alt text here.](images/file-name.png "Title text that shows on hover here"){: caption="Figure 1. A description that prints on the page" caption-side="bottom"}

Adjusted the regex to allow for optional titles in image syntax.