Skip to content

Commit

Permalink
Release v2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
BNDong committed Nov 23, 2021
1 parent 18e6d12 commit eb24247
Show file tree
Hide file tree
Showing 234 changed files with 11 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion dist/simpleMemory.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/simpleMemory.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/v2/Docs/GettingStarted/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ CSS代码位置:```/dist/simpleMemory.css``` 拷贝此文件代码至页面定
},
}
</script>
<script src="https://cdn.jsdelivr.net/gh/BNDong/[email protected].8/dist/simpleMemory.js" defer></script>
<script src="https://cdn.jsdelivr.net/gh/BNDong/[email protected].9/dist/simpleMemory.js" defer></script>
```

详细配置参考相关[文档](https://bndong.github.io/Cnblogs-Theme-SimpleMemory/v2/#/Docs/Customization/config)
Expand Down
4 changes: 4 additions & 0 deletions docs/v2/Docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2021.11.23 - v2.0.9
* 修复了因官方调整基础样式,hljs渲染代码格式错乱的问题
* 修复了行内代码无法换行的问题

## 2021.09.22 - v2.0.8
* 增加banner背景图片自动切换的动效。增加配置 `animate.bannerImages` 用以配置
* 增加一个新的背景动效。增加配置 `animate.backgroundMouse` 用以配置
Expand Down
2 changes: 1 addition & 1 deletion src/components/code/lib/hljs.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function main(_, setCodeLine) {
let obj = $(code[i]);

// 做一次换行兼容处理
obj.html().replace(/\<br\>/g, '\n');
obj.css('white-space', 'pre').html().replace(/\<br\>/g, '\n');

// 清除代码原有样式
obj.text(obj.text());
Expand Down
1 change: 1 addition & 0 deletions src/style/simpleMemory.css
Original file line number Diff line number Diff line change
Expand Up @@ -2890,6 +2890,7 @@ span.cnblogs_code, #home code:not([class]) {
border: 0;
padding: 2px 4px;
color: #D83B64;
display: inline;
background-color: #f9f2f4;
border-radius: 3px;
position: relative;
Expand Down

0 comments on commit eb24247

Please sign in to comment.