微信读书和weread plugin无聊初体验

没有跳转,哪怕复制原文的几个字,在微读里搜索定位也行啊,可惜连个搜索也不做,怕是出于防盗考量 :face_with_spiral_eyes:

其实是有定位的,比如你把划线分享到微信朋友圈的链接,然后再到浏览器里打开:大话西方艺术史-意公子
在手机端打开这个链接,点击之后会自动跳转到阅读界面的划线行,只不过必须先通过微信生成一个分享链接才可以

这么迂回 :rofl:
不能直接在网页版生成的,观望下先,期待有更好的技术革新 :laughing:

@zhaohongxuan 呼唤大佬~
ob更新0.15.6,weread不适配shiny feature:popup window呃…(’、3_ヽ)_
求大佬速配 :smiling_face_with_three_hearts:

1 个赞

大佬这个模版能发一下吗

不是大佬不是大佬不是大佬 :face_with_spiral_eyes:

---
isbn: {{metaData.isbn}}
category: {{metaData.category}}
lastReadDate: {{metaData.lastReadDate}}
creattime: {{creatTime}}
---

<br><br>

> [!w3]+
> ![cover|290]({{metaData.cover}})

{% for chapter in bookReview.chapterReviews %}{% if chapter.reviews or chapter.chapterReview %}
###### {{chapter.chapterTitle}}

<span style="display:block;margin-bottom:5%;"></span>
{% if  chapter.chapterReviews %}{% for chapterReview in chapter.chapterReviews %}

###### 节评 No.{{loop.index}}
- {{chapterReview.content}} ^{{bookReview.reviewId}}
    {{chapterReview.createTime}} {% endfor%}{%endif %}{% if chapter.reviews %}{%for review in chapter.reviews %}

{{review.abstract |trim }} <span style="font-size:12px;color:#858585;">{{review.createTime}}</span> <span class="top05">^{{review.reviewId}}</span>
 <span class="jy">{{review.content}}</span>
<span class="sep"></span> 
<br>
{% endfor %} {%endif %} {% endif %} {% endfor %}

<br>


{% if bookReview.bookReviews %}{% for bookReview in bookReview.bookReviews %}
###### 书评 No.{{loop.index}} 

<span style="display:block;margin-top: 6%;"></span>

> {{bookReview.mdContent}} 
{% endfor%}{% endif %}

<br><br><br>

###### 元数据

<span style="display:block;margin-top: 6%;"></span>

```ad-example
title:  <span style="color: #DB8756;font-size: 12px;"></span>
collapse:none

 🔹书名: {{metaData.title}}
 🔸作者: {{metaData.author}}
 🔹出版时间: {{metaData.publishTime}}
 🔸ISBN: {{metaData.isbn}}
 🔹出版社: {{metaData.publisher}}
 

另外,启用这几段css

.top05 { background-color: #a15d4e; color: rgb(231, 231, 231); vertical-align: top; border-radius: 3px; padding: 1px 6px; font-size: 8px; height: 14px; line-height: 14px; text-decoration:none; /* font-weight: 600; */ letter-spacing: .1em; }


img[alt^=“cover”] {
border-radius: 8px;
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}


.callout:not(.is-collapsed).callout[data-callout$=w3] {
width: 35%;
margin-left:5%;
float: right;
}


.sep {
border-bottom: 1px solid #464763;
border-width: 1px;
width:98%;
display: block;
margin-bottom: 1.5%;
margin-top: 1.5%;
}


.jy {
font-size:15.6px;
color:#858585;
display: block;
margin-top: -2.5%;
padding-left:2%;
margin-left:8%;
margin-bottom: 1%;
text-align: justify;
}

.jy:before {
content: ‘’;
background-size: 55px 55px;
transform: translateX(50%) translateY(90%);
background-repeat: no-repeat;
display: block;
height: 55px;
width: 55px;
margin-left: -14.5%;
background-image: url(“data:image/svg+xml,%3Csvg class=‘icon’ viewBox=‘0 0 1024 1024’ xmlns=‘SVG namespace’ width=‘32’ height=‘32’%3E%3Cpath d=‘M128 853.333a42.667 42.667 0 0 1 42.667-42.666h682.666a42.667 42.667 0 1 1 0 85.333H170.667A42.667 42.667 0 0 1 128 853.333z’ fill=‘%23464763’/%3E%3Cpath d=‘M622.336 170.667a85.333 85.333 0 0 1 120.661 0l110.336 110.336a85.333 85.333 0 0 1 0 120.661L371.5 883.499A42.667 42.667 0 0 1 341.333 896H170.667A42.667 42.667 0 0 1 128 853.333V682.667a42.667 42.667 0 0 1 12.501-30.166l481.835-481.834zm170.667 170.666L682.667 230.997 213.333 700.331v110.336H323.67l469.334-469.334z’ fill=‘%23464763’/%3E%3Cpath d=‘M481.835 311.168a42.667 42.667 0 0 1 60.33 0l170.667 170.667a42.667 42.667 0 0 1-60.33 60.33L481.834 371.5a42.667 42.667 0 0 1 0-60.331z’ fill=‘%23464763’/%3E%3C/svg%3E”);
}


.callout[data-callout=“w3”] {
width: 35%;
background-color:transparent;
margin: 0%;
float: right;
box-shadow: none!important;
border: none;
}



索性发个css文件,放snippet文件夹里启用就行

https://wwp.lanzouv.com/i3n6809c41li

感谢大佬,我试一下

小白折腾半天不知道哪里出了问题,求救 ::

大佬 day theme全屏怎么启用啊?没找到相关选项
另外模板我这貌似也有问题

还有些问题

  1. 你的预览界面左右的空白区域很小,这是怎么调整的?
    image
  1. 模板导出似乎还是有很多问题

    并没有换行而且没有使用引用格式

这楼,把这些css都启用了

我在一楼写了css,折叠起来,可能没看到

在custom frame插件的weread setting里贴css

.readerTopBar {
position: absolute !important;
} /* 取消顶栏固定页面下滑仍显示在顶端 */

.readerTopBar {
font-family: SourceHanSerifCN-Bold !important; /* 思源宋体粗体版,下同 */
}

.readerNoteList {
font-family: SourceHanSerifCN-Bold !important;
}

.readerCatalog {
font-family: SourceHanSerifCN-Bold !important;
}

.bookInfo_title {
font-family: SourceHanSerifCN-Bold !important;
}

.readerTopBar_title_link {
font-family: SourceHanSerifCN-Bold !important;
font-weight: bold !important;
}

.readerTopBar_title_chapter {
font-family: SourceHanSerifCN-Bold !important;
}

.wr_whiteTheme .readerContent .app_content {
background-color: #BAD1C0 !important;
}

.wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerImage_opacity {
background-color: #BAD1C0 !important;
}

.wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerBackground_opacity {
background-color: #BAD1C0 !important;
}

.wr_whiteTheme .readerContent .app_content {
background-color: #BAD1C0 !important;
}

.wr_whiteTheme {
background-color: #F4FFF0 !important;
}

.wr_whiteTheme .readerTopBar {
background-color: #6DB38C !important;
}

.wr_whiteTheme .readerFooter_button {
background-color: #b4e08f !important;
}

.readerTopBar_title {
height: 27px !important;
}

.app_content {
max-width: 63% !important; /* 控制内容区域的宽度。ob两版式推荐:93% /
margin-left: 15%; / 调整左边距,使文字区视觉居中。两版式:3% /
font-family: SourceHanSerifCN-Bold !important; / 正文字体,自传epub嵌入自定义字体,则显示为内置的;微信读书自有图书指定了default font,操作系统字体库没有相应的,则显示为浏览器默认的 */
}

.readerTopBar {
max-width: 63% !important; /* 两版式:93% */
background-color: #3cb371 !important;
}

/* 侧边控件调节透明度和左边距,透明度为0则隐藏 /
.readerControls {
opacity: 0.4;
margin-left: 33% !important; / 两版式:2% */
}

.readerControls:hover {
opacity: 1;
}

body::-webkit-scrollbar {
width: 0px;
height: 0px;
} /* 隐藏滚动条 */

抱歉,ifeame的css我没仔细看注释,失态了 :sweat_smile:
但我把两个css都启用了,模板效果依旧不太好


引言依旧并没有换行而且没有使用引用格式,是不是模板格式的问题?

@dandancow @zero617
sorry :sweat_smile:漏写几个片段,索性发个css文件,放snippet文件夹里启用就行
https://wwp.lanzouv.com/i3n6809c41li

感谢但似乎没有效果

这是我复制的模板,可以看一下有问题吗:
https://wwd.lanzouw.com/ioCKT09c4wmf
密码:c3ck


模板有个小纰漏 :face_with_spiral_eyes:
<span class="jyq">
改成<span class="jy">

元数据和w3那里,得下admonition插件才有效果

@zero617 模板那儿也得改
<span class="jyq"><span class="jy">

可以了 谢谢 :pray: 就是在我的主题这似乎会有些重叠
怎么增加批注和引用之间的间距啊?