from: https://codeberg.org/_aris/hugo-peertube-shortcode
commit hash: 10197c1b4b
I don't know if there is a better way to include this as a submodule
or something, instead of making a static copy, but this is how I'm
doing it for now.
While markdown parsers usually look at URLs and linkify them with some caveats
surrounding it, Hugo seems to be less intelligent in its URL detection and link
conversion and, if you have a link ending with a comma, it considers the comma
as a part of the link. To mitigate that, we're now specifically saying that the
URL (without the comma) is a link.