Remarkable plugin adds title attribute on URL and image tags and download attribute on URL if title set to download.
Via npm
npm install remarkable-seo --save-devVia Yarn
yarn add remarkable-seo --devimport{Remarkable}from'remarkable';importremarkableSeofrom'remarkable-seo';constmd=newRemarkable();consttestString=`Add 'title' attribute on link and image where missing.Links to test Title:* [Example](http://example.com)* [Google](https://google.com)* [Facebook](https://facebook.com "Facebook page")Attached images:1. 1. 1. `;md.use(remarkableSeo);console.log(md.render(testString));const{ Remarkable }=require('remarkable');constremarkableSeo=require('remarkable-seo');constmd=newRemarkable();consttestString=`Add 'title' attribute on link and image where missing.Links to test Title:* [Example](http://example.com)* [Google](https://google.com)* [Facebook](https://facebook.com "Facebook page")* [Download Minion](https://octodex.github.com/images/minion.png "download")Attached images:1. 1. 1. `;md.use(remarkableSeo);console.log(md.render(testString));constremarkableSeo=require('remarkable-seo');constsiteConfig={
...
markdownPlugins: [function(md){remarkableSeo(md);}]...}