# HEXO博客系统豆瓣组件

> 一个插件，为Hexo博客系统创建，通过简单的语法和配置来实现优雅的豆瓣读书卡片，电影卡片等等。

### 卡片示例

#### 电影卡片示例

![Movie Card](/files/-MHWlwMUQ2W9R2qXDF5q)

示例语法：

```
{% douban movie 1329526 %}
```

这里的语法遵循Hexo的默认渲染语法，其中的数字串可以从豆瓣电影的网址中获取。

例如

![Douban Url Example](/files/-MHWmMoSZN6ReT5ewyAN)

#### 读书卡片

![Book Card](/files/-MHWmU3N6nX3l1i5_3CU)

#### 样例代码

```
{% douban book 33451722 %}
```

#### 音乐卡片

![](/files/-MHWmqIM61Ym60czsu17)

```
{% douban music 6120125 %}
```

### 使用方法

```
npm install hexo-douban-card
```

请保证您安装的项目是一个Hexo博客项目，否则模块将无法正常运行。

安装完成之后就可以在博客的任意markdown文件中使用上述语法渲染豆瓣卡片！


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tanknee.cn/projects/hexo-bo-ke-xi-tong-dou-ban-zu-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
