* Fix the check for misleading links
* replace tabs with spaces
* remove trailing spaces
* move isMisleadingLinks to lib/url.js and create unit tests
* Add comments to test cases
* URLs can contain hyphens
---------
Co-authored-by: ekzyis <ek@stacker.news>
* fixes#1395
* rehype plugin for embeds
* fix lint
* replace many plugins with one rehype and improve image collage
* remove unused css
* handle more custom markdown behavior in rehype
* refactor markdown rendering more + better footnotes
* move more markdown logic to reyhpe plugin + better headers
* fix#1397
* refactor embeds out of media-or-link