Skip to content

Commit

Permalink
Merge pull request #35 from obgnail/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
obgnail authored Jul 28, 2023
2 parents 140b22d + 6bf613b commit 4ba9235
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion plugin/auto_number.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
ENABLE_IMAGE: true,
}

const bast_css = `#write { counter-reset: write-h2 Figures Tables; }`

const content_css = `
#write { counter-reset: write-h2 Figures Tables; }
h1 { counter-reset: write-h2 Figures Tables; }
h2 { counter-reset: write-h3 Figures Tables; }
h3 { counter-reset: write-h4; }
Expand Down Expand Up @@ -159,6 +160,7 @@
}`

const css = [
bast_css,
(config.ENABLE_CONTENT) ? content_css : "",
(config.ENABLE_SIDE_BAR) ? side_bar_css : "",
(config.ENABLE_TOC) ? toc_css : "",
Expand Down
3 changes: 2 additions & 1 deletion plugin/multi_highlighter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
top: 8px;
opacity: .5;
line-height: 10px;
border-radius: 3px
border-radius: 3px;
cursor: pointer;
}
#plugin-multi-highlighter-input .plugin-multi-highlighter-option-btn.select,
Expand Down
8 changes: 4 additions & 4 deletions plugin/search_multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@
#typora-search-multi-input .search-multi-search-option-btn {
position: absolute;
padding: 1px;
top: 7px;
opacity: .5;
line-height: 10px;
border-radius: 3px
border-radius: 3px;
cursor: pointer;
}
#typora-search-multi-input #typora-search-multi-case-option-btn {
#typora-search-multi-input #typora-search-multi-case-option-btn {
right: 6px;
padding: 2px 1px;
}
#typora-search-multi-input #typora-search-multi-path-option-btn {
#typora-search-multi-input #typora-search-multi-path-option-btn {
right: 30px;
padding: 1px 3px;
}
Expand Down

0 comments on commit 4ba9235

Please sign in to comment.