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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4190e258bb1721c2f4de3755567b316a4989b4ec0ee400a9864a4b1fe9f41b54 |
|
MD5 | afecfc9d6dc985b18c820e5d3817fd79 |
|
BLAKE2b-256 | 1b92b3bf892b4ec901ade07e50aeed1107b0f122debb189de3d748a7bf1e6984 |