A MkDocs plugin that supports external link preview
Project description
mkdocs-obsidian-support-plugin
Plugin for mkdocs-material provide external link preview.
pip install beautifulsoup4
pip install mkdocs-link-preview-plugin
It requires beautifulsoup4 for crawling the open grapth protocol metadata.
Usage
Activate the plugin in mkdocs.yml
plugins:
- link-preview
extra_css:
- path/to/link-preview.css
Feature
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/
Inspired by
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for mkdocs-link-preview-plugin-0.2.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be10bf0389323178690999bc2f1d7d7d08d4b8a78390a853033d601e6224f078 |
|
MD5 | 997a9bd3230cd822899f52e37103e72a |
|
BLAKE2b-256 | 887219812fb45626a3d3646d420f7d48dd4effb5d50277a31ff0381a0973333e |