showdown icon indicating copy to clipboard operation
showdown copied to clipboard

[feat](links): Add option to automatically add `rel="me"` to on-site links

Open gdog2u opened this issue 3 years ago • 1 comments

The XHTML Friends Network, or XFN, is a proposed way of showing human relationships between blogs. A key feature of this proposal is denoting what links belong to you, the author.

With the PR, the option xfnRelAutoMe is added. It defaults to false, but when set to true, any links in the markdown that point to the current site will automatically have their rel attribute set to me.

gdog2u avatar Jul 20 '22 21:07 gdog2u

Analysis results are not available for those commits

View more on Code Climate.

qlty-cloud-legacy[bot] avatar Jul 20 '22 21:07 qlty-cloud-legacy[bot]

Hey @gdog2u - I am not a contributor on this project.

Tho I am giving some feedback, one being that this does not follow the markdown spec. I do NOT think it is a fit for this project.

I would rather advise you make a plugin that can be installed into showdown as I do not this PR is needed.

Cool idea otherwise, and wishing you the best of luck with your project!

@tivie @SyntaxRules - I think this can be closed...

MarketingPip avatar Aug 27 '22 08:08 MarketingPip