Plugin for mkdocs provide external link preview.
pip install beautifulsoup4
pip install mkdocs-link-preview-plugin
It requires beautifulsoup4 for crawling the open grapth protocol metadata.
Activate the plugin in mkdocs.yml
plugins:
- link-preview
extra_css:
- path/to/link-preview.css
It converts below codeblock syntax to preview-html based on The Open Graph Protocol.
```preview
https://github.com/ndy2/mkdocs-link-preview-plugin
```
rendered as
with default css configuration.
- super simple demo link - https://ndy2.github.io/mkdocs-link-preview-plugin/