Skip to content

Commit

Permalink
feat: 对正在编辑的区域进行高亮 (Tencent#413)
Browse files Browse the repository at this point in the history
* feat: 编辑区高亮功能
  • Loading branch information
yxKryptonite authored Mar 15, 2023
1 parent 44d8063 commit bac8173
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 95 deletions.
3 changes: 3 additions & 0 deletions dist/cherry-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -2076,6 +2076,9 @@ div[data-type=codeBlock] .token.inserted {
outline: 1px solid #3582fb;
word-break: break-all;
}
.cherry .cherry-highlight-line {
background-color: #ffffcc;
}

@media print {
img, figure, pre, table {
Expand Down
Loading

0 comments on commit bac8173

Please sign in to comment.