概述:weread 插件个人配置

weread 个人配置

---
name: {{metaData.title}}
title: {{metaData.title}}
cover: '{{metaData.cover}}'
tags: 
 - 书籍/weread
 - 书籍/微信读书
author: {{metaData.author}}
isbn: {{metaData.isbn}}
rating: 
banner: "!true.jpg"
publish: {{metaData.publisher}}
publishyear: "{{metaData.publishTime|truncate(11,False,'')}}"
category: {{metaData.category}}
noteCount: {{metaData.noteCount}}
reviewCount: {{metaData.reviewCount}}
grade:
status: {{metaData.finish}}
readtime:
pagecount: 
pageprogress: 
---
 
> 作者:{{metaData.author}} 
 
<!--more-->
 
> [!abstract]- **内容简介**
> 
> 
> 《{{metaData.title}}》
> {{metaData.intro|striptags(true)|trim}}
 
## {{metaData.title}}
 
> [!bookinfo]+ **《{{metaData.title}}》**
> 
> ![bookcover|200]({{metaData.cover}})
> 
> | 属性 | 内容 |
> | - | ---- |
> | ISBN   | {{metaData.isbn if metaData.isbn else 'null'}}  |
> | 作者   | {{metaData.author}} |
> | 出版年 | {{metaData.publishTime|truncate(11,False,'')}} |
> | 出版社 | {{metaData.publisher}} |
> | 来源   | [{{metaData.title}}](https://weread.qq.com/web/) |
> | 分类   | {{metaData.category}} |
 
## 高亮划线
{% for chapter in chapterHighlights -%}
### {{chapter.chapterTitle}}
{% for highlight in chapter.highlights -%}{% if highlight.reviewContent -%}
> [!quote] {{chapter.chapterTitle}}
> 
> {{ highlight.markText |trim }}  
> 
> <p align="right"><sub>— 创建于 {{highlight.createTime.slice(0, 10)}}{{highlight.createTime.slice(10, 16)}} ^{{highlight.chapterUid}}-{{highlight.range}}</sub></p>
- {{highlight.reviewContent}}
{% else %}
> [!quote] {{chapter.chapterTitle}}
> 
> {{ highlight.markText |trim }}  
> 
> <p align="right"><sub>— 创建于 {{highlight.createTime.slice(0, 10)}}{{highlight.createTime.slice(10, 16)}} ^{{highlight.chapterUid}}-{{highlight.range}}</sub></p>
{% endif %} {%- endfor %}{%- endfor %}
{% for chapter in bookReview.chapterReviews -%}
{% if chapter.reviews or chapter.chapterReview -%}
{%for review in chapter.reviews -%}
> [!quote] {{chapter.chapterTitle}}
> 
> {{review.abstract |trim }} 
> - {{review.content}}
> <p align="right"><sub>— 创建于 {{highlight.createTime.slice(0, 10)}}{{highlight.createTime.slice(10, 16)}} ^{{highlight.chapterUid}}-{{highlight.range}}</sub></p>
> 
 {%- endfor %} 
{% if  chapter.chapterReview -%}
### 读书笔记
> [!quote] {{chapter.chapterTitle}}
> 
> {{chapter.chapterReview.content}}{%-endif %}
{% if chapter.reviews %}{%for review in chapter.reviews -%}
 {%- endfor %} {%-endif %} {%- endif %} {%- endfor %}
{% if bookReview.bookReview -%}
### 本书评论
{{bookReview.bookReview.mdContent}} ^{{bookReview.bookReview.reviewId}}
{%- endif %}