update at 2025-10-10 21:54:05

This commit is contained in:
douboer
2025-10-10 21:54:05 +08:00
parent 1db58695e8
commit 0ab20de880
9 changed files with 347 additions and 228 deletions

View File

@@ -21,7 +21,7 @@
如n=2取出的图片为xx.jpg,yy.png那么把{{<gallery dir="/img/guanzhan/1" figcaption="毕业展"/>}}{{<load-photoswipe>}}替换为:
![[xx.jpg]]
![[yy.png]]
3.
对如下:
@@ -46,7 +46,7 @@ src可能使用link
4.
参考以下代码,渲染[fig content/],|| content,||r content,||g content,||b content等标签
参考以下代码,渲染[fig content/],|| content,||r content,||g content,||b content等标签
`\[fig([^>]*?)/\]` `<span style="font-style: italic; font-size: 14px; background-color: #f5f5f5; padding: 2px;">$1</span>`
`\|\| (.*)` `<p style="font-family:'Microsoft YaHei',sans-serif;background-color:#E5E4E2 ;padding:10px;border-radius:20px;line-height:30px;">$1</p>`
`\|\|r (.*)` `<p style="font-family:'Microsoft YaHei',sans-serif;color:white;background-color:#6F4E37;padding:10px;border-radius:20px;line-height:30px;">$1</p>`
@@ -105,7 +105,9 @@ views:
```
10. 默认选择“原创”“允许留言”。
10. 默认选择
- “允许留言” ✅
- “原创”
11. gallery短代码增加是否使用dir中的所有图片的开关。mppickall=1选取dir中的所有图片mppickall=0按“选取图片数”配置选取图片数量。
{{<gallery dir="/img/guanzhan/1" figcaption="毕业展" mppickall=1/>}}{{<load-photoswipe>}}
@@ -136,3 +138,7 @@ Orientation : 6 -- 图片左旋90度需右选90才正常。
为了规避这个问题图片不做旋转处理直接转为png上传公众号。解决。因为PNG不带orientation信息。
- 封面图片没有正确旋转。
公众号上传仍然有图片旋转问题同样需要取png图片避免旋转问题