Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 2.88 KB

readme_en.md

File metadata and controls

82 lines (61 loc) · 2.88 KB

hexo-plugin-panlink

npm version license

A plugin for elegantly displaying cloud storage download links in Hexo blogs, supporting multiple platforms with beautiful animation effects.

English | 简体中文

Preview

Preview

Features

  • 🎨 Beautiful dark card design
  • ✨ Smooth animation effects
  • 🎯 Support for multiple cloud storage platforms
  • 🔒 Extraction code display support
  • 📱 Responsive design

Installation

npm install hexo-plugin-panlink --save

Usage

In your Markdown posts, use:

{% panlink platform "filename" "download_link" "extraction_code" %}

Examples

{% panlink baidu "test_file.zip" "https://pan.baidu.com/s/xxx" "1234" %}
{% panlink quark "document.pdf" "https://pan.quark.cn/s/xxx" "abcd" %}
{% panlink lanzou "software.exe" "https://lanzou.com/xxx" %}

Supported Platforms

Platform Identifier Extraction Code Support
Baidu Netdisk baidu
Quark Netdisk quark
LanzouCloud lanzou
Aliyun Drive aliyun
TianyiCloud tianyi
ChengTongCloud chengtong
123Cloud 123
LanzouCloud lanzou
GitHub github
Gitee gitee
WeiYun weiyun
115 Drive 115
Xunlei Cloud xunlei
China Mobile Cloud yidong
Jianguoyun jianguo
UC Cloud uc
WenShushu wenshushu

Custom Styling

If you want to customize the styles, you can override the following classes in your theme's CSS file:

.pan-link-card { /* Card container */ }
.pan-link-content { /* Content layout */ }
.pan-icon { /* Icon style */ }
.pan-info { /* Information area */ }
.pan-name { /* Filename */ }
.pan-code { /* Extraction code */ }
.pan-button { /* Download button */ }

License

This project is open-sourced under the MIT License - see the LICENSE file for details