Skip to content

Commit

Permalink
v0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
juestchaos committed Nov 18, 2022
1 parent a11e13f commit e01bb08
Show file tree
Hide file tree
Showing 26 changed files with 1,094 additions and 588 deletions.
4 changes: 1 addition & 3 deletions .obsidian/community-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"obsidian-kanban",
"obsidian-excalidraw-plugin",
"obsidian-icon-folder",
"oz-image-plugin",
"quickadd",
"templater-obsidian",
"obsidian-annotator",
Expand Down Expand Up @@ -59,6 +58,5 @@
"dbfolder",
"obsidian-emoji-toolbar",
"obsidian-view-mode-by-frontmatter",
"novel-word-count",
"music-code-blocks"
"novel-word-count"
]
26 changes: 13 additions & 13 deletions .obsidian/plugins/dbfolder/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .obsidian/plugins/dbfolder/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "dbfolder",
"name": "DB Folder",
"version": "2.8.3",
"version": "2.8.4",
"minAppVersion": "0.16.3",
"description": "Folder with the capability to store and retrieve data from a folder like database",
"author": "RafaelGB",
Expand Down
6 changes: 5 additions & 1 deletion .obsidian/plugins/dbfolder/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ div.database-plugin__td.data-input:hover {
vertical-align: middle;
}

.database-plugin__td.data-input p {
margin: 6px 0px;
}
/** children of data-input fills parent div*/
.data-input > * {
border: none;
Expand Down Expand Up @@ -198,6 +201,7 @@ div.database-plugin__checkbox {

.database-plugin__md_cell p {
display: inline;
margin: 3px 0;
}

.database-plugin__md_cell ul {
Expand Down Expand Up @@ -384,7 +388,7 @@ div.database-plugin__checkbox {
}

.database-plugin__cell_size_normal .database-plugin__td {
padding: 0.3rem;
padding: 0.1rem;
}

.database-plugin__cell_size_wide .database-plugin__td {
Expand Down
156 changes: 69 additions & 87 deletions .obsidian/plugins/novel-word-count/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,14 @@
"createdDate": 1668572776097,
"modifiedDate": 1668437490703
},
"📊Every Day/📊Every Day.md": {
"noteCount": 1,
"wordCount": 201,
"pageCount": 0.67,
"characterCount": 1912,
"nonWhitespaceCharacterCount": 1578,
"createdDate": 1658195328336,
"modifiedDate": 1658195328336
},
"📊Every Day/✅每日检查To-Do.md": {
"noteCount": 1,
"wordCount": 1426,
"pageCount": 4.753333333333333,
"characterCount": 13713,
"nonWhitespaceCharacterCount": 11216,
"createdDate": 1658195328288,
"modifiedDate": 1658195328288
},
"更新日志(Changelog).md": {
"noteCount": 1,
"wordCount": 1650,
"pageCount": 5.5,
"characterCount": 14926,
"nonWhitespaceCharacterCount": 12663,
"wordCount": 1752,
"pageCount": 5.84,
"characterCount": 15890,
"nonWhitespaceCharacterCount": 13478,
"createdDate": 1666160084897,
"modifiedDate": 1668571392177
"modifiedDate": 1668775021277
},
"插件说明.md": {
"noteCount": 1,
Expand All @@ -67,30 +49,12 @@
},
"使用问题&FAQ.md": {
"noteCount": 1,
"wordCount": 51,
"pageCount": 0.17,
"characterCount": 508,
"nonWhitespaceCharacterCount": 452,
"wordCount": 191,
"pageCount": 0.6366666666666667,
"characterCount": 1836,
"nonWhitespaceCharacterCount": 1619,
"createdDate": 1668478666322,
"modifiedDate": 1668482628276
},
"Template/tasksCalendar/Styles/style-previews.md": {
"noteCount": 1,
"wordCount": 199,
"pageCount": 0.6633333333333333,
"characterCount": 1847,
"nonWhitespaceCharacterCount": 1610,
"createdDate": 1668572742834,
"modifiedDate": 1668403517738
},
"Template/tasksCalendar/README.md": {
"noteCount": 1,
"wordCount": 1263,
"pageCount": 4.21,
"characterCount": 8796,
"nonWhitespaceCharacterCount": 7433,
"createdDate": 1668572742828,
"modifiedDate": 1668403505922
"modifiedDate": 1668774311951
},
"Template/Video Template.md": {
"noteCount": 1,
Expand All @@ -101,6 +65,15 @@
"createdDate": 1665556680447,
"modifiedDate": 1653285302093
},
"Template/tp-movie-douban.md": {
"noteCount": 1,
"wordCount": 52,
"pageCount": 0.17333333333333334,
"characterCount": 582,
"nonWhitespaceCharacterCount": 512,
"createdDate": 1658195328100,
"modifiedDate": 1658204494903
},
"Template/tp-movie.md": {
"noteCount": 1,
"wordCount": 33,
Expand All @@ -110,14 +83,14 @@
"createdDate": 1658195328100,
"modifiedDate": 1653285293464
},
"Template/tp-movie-douban.md": {
"Template/tp-book.md": {
"noteCount": 1,
"wordCount": 52,
"pageCount": 0.17333333333333334,
"characterCount": 582,
"nonWhitespaceCharacterCount": 512,
"wordCount": 40,
"pageCount": 0.13333333333333333,
"characterCount": 509,
"nonWhitespaceCharacterCount": 463,
"createdDate": 1658195328100,
"modifiedDate": 1658204494903
"modifiedDate": 1653285318302
},
"Template/tp-book-callout.md": {
"noteCount": 1,
Expand All @@ -128,14 +101,23 @@
"createdDate": 1658195328100,
"modifiedDate": 1658204636749
},
"Template/tp-book.md": {
"Template/tasksCalendar/Styles/style-previews.md": {
"noteCount": 1,
"wordCount": 40,
"pageCount": 0.13333333333333333,
"characterCount": 509,
"nonWhitespaceCharacterCount": 463,
"createdDate": 1658195328100,
"modifiedDate": 1653285318302
"wordCount": 199,
"pageCount": 0.6633333333333333,
"characterCount": 1847,
"nonWhitespaceCharacterCount": 1610,
"createdDate": 1668572742834,
"modifiedDate": 1668403517738
},
"Template/tasksCalendar/README.md": {
"noteCount": 1,
"wordCount": 1263,
"pageCount": 4.21,
"characterCount": 8796,
"nonWhitespaceCharacterCount": 7433,
"createdDate": 1668572742828,
"modifiedDate": 1668403505922
},
"Template/startup/FastStart-StartupScript.md": {
"noteCount": 1,
Expand Down Expand Up @@ -229,12 +211,12 @@
},
"Readme.md": {
"noteCount": 1,
"wordCount": 655,
"pageCount": 2.183333333333333,
"characterCount": 7664,
"nonWhitespaceCharacterCount": 6816,
"wordCount": 518,
"pageCount": 1.7266666666666666,
"characterCount": 6532,
"nonWhitespaceCharacterCount": 5912,
"createdDate": 1668477875446,
"modifiedDate": 1668572690035
"modifiedDate": 1668775125840
},
"People/Obsidian-plug-and-play/测试文件夹/测试引用.md": {
"noteCount": 1,
Expand Down Expand Up @@ -317,15 +299,6 @@
"createdDate": 1668010972048,
"modifiedDate": 1667897933772
},
"People/Movie/MovieList.md": {
"noteCount": 1,
"wordCount": 203,
"pageCount": 0.6766666666666666,
"characterCount": 2337,
"nonWhitespaceCharacterCount": 2033,
"createdDate": 1658195328084,
"modifiedDate": 1664349573396
},
"People/Movie/Movie.md": {
"noteCount": 1,
"wordCount": 7,
Expand All @@ -335,6 +308,15 @@
"createdDate": 1663246755138,
"modifiedDate": 1664347416362
},
"People/Movie/MovieList.md": {
"noteCount": 1,
"wordCount": 203,
"pageCount": 0.6766666666666666,
"characterCount": 2337,
"nonWhitespaceCharacterCount": 2033,
"createdDate": 1658195328084,
"modifiedDate": 1664349573396
},
"People/Movie/Movie database.md": {
"noteCount": 1,
"wordCount": 423,
Expand Down Expand Up @@ -506,14 +488,14 @@
"createdDate": 1658195328069,
"modifiedDate": 1668008963671
},
"Obsidian-example/优化/加速.md": {
"Obsidian-example/常见的语法罗列.md": {
"noteCount": 1,
"wordCount": 151,
"pageCount": 0.5033333333333333,
"characterCount": 4989,
"nonWhitespaceCharacterCount": 4665,
"createdDate": 1658195328069,
"modifiedDate": 1658195328069
"wordCount": 1231,
"pageCount": 4.1033333333333335,
"characterCount": 19430,
"nonWhitespaceCharacterCount": 17842,
"createdDate": 1668773102337,
"modifiedDate": 1668774791340
},
"Obsidian-example/Tables 表格样式/Tables.md": {
"noteCount": 1,
Expand Down Expand Up @@ -596,14 +578,14 @@
"createdDate": 1658195328069,
"modifiedDate": 1658195328069
},
"Obsidian-example/Readme英文版.md": {
"Obsidian-example/优化/加速.md": {
"noteCount": 1,
"wordCount": 491,
"pageCount": 1.6366666666666667,
"characterCount": 5284,
"nonWhitespaceCharacterCount": 4654,
"createdDate": 1658195328053,
"modifiedDate": 1664529260988
"wordCount": 151,
"pageCount": 0.5033333333333333,
"characterCount": 4989,
"nonWhitespaceCharacterCount": 4665,
"createdDate": 1658195328069,
"modifiedDate": 1658195328069
},
"Obsidian-example/Obsidian使用教程/Obsidian教程——基础语法和操作.md": {
"noteCount": 1,
Expand Down
2 changes: 1 addition & 1 deletion .obsidian/plugins/obsidian-booknote-plugin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8787,7 +8787,7 @@ class NavHeader {
}

var obtreeItem = {
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isFolder)?_c('div',{staticClass:"nav-folder",class:{'is-collapsed':!_vm.isOpen}},[_c('div',{staticClass:"nav-folder-title",on:{"click":_vm.toggle}},[_c('div',{staticClass:"nav-folder-collapse-indicator collapse-icon"}),_vm._v(" "),_c('div',{staticClass:"nav-folder-title-content"},[_vm._v(_vm._s(_vm.item.name))])]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isOpen),expression:"isOpen"}],staticClass:"nav-folder-children"},_vm._l((_vm.item.children),function(child,index){return _c('obtree-item',{key:index,attrs:{"item":child},on:{"select-file":function (node, ctrlKey){ return _vm.$emit('select-file',node, ctrlKey); },"open-file":function (item){ return _vm.$emit('open-file',item); },"context-menu":function (e,item){ return _vm.$emit('context-menu',e,item); }}})}),1)]):_c('div',{staticClass:"nav-file",class:("book-" + (_vm.item.ext))},[_c('div',{staticClass:"nav-file-title",class:{'is-active':_vm.isActivate},on:{"click":[function($event){if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.selectFile($event,false)},function($event){if(!$event.ctrlKey){ return null; }return _vm.selectFile($event,true)}],"dblclick":function($event){return _vm.$emit('open-file',_vm.item)},"contextmenu":function($event){$event.preventDefault();return _vm.$emit('context-menu',$event,_vm.item)}}},[_c('div',{staticClass:"nav-file-tag"},[_vm._v(_vm._s(_vm.item.ext))]),_vm._v(" "),_c('div',{staticClass:"nav-file-title-content"},[_vm._v("\r\n\t\t\t"+_vm._s((_vm.item.attrs && _vm.item.attrs.title) || _vm.item.name)+"\r\n\t\t")])])])},
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isFolder)?_c('div',{staticClass:"nav-folder",class:{'is-collapsed':!_vm.isOpen}},[_c('div',{staticClass:"nav-folder-title",on:{"click":_vm.toggle}},[_c('div',{staticClass:"nav-folder-collapse-indicator collapse-icon"}),_vm._v(" "),_c('div',{staticClass:"nav-folder-title-content"},[_vm._v(_vm._s(_vm.item.name))])]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isOpen),expression:"isOpen"}],staticClass:"nav-folder-children"},_vm._l((_vm.item.children),function(child,index){return _c('obtree-item',{key:index,attrs:{"item":child},on:{"select-file":function (node, ctrlKey){ return _vm.$emit('select-file',node, ctrlKey); },"open-file":function (item){ return _vm.$emit('open-file',item); },"context-menu":function (e,item){ return _vm.$emit('context-menu',e,item); }}})}),1)]):_c('div',{staticClass:"nav-file",class:("book-" + (_vm.item.ext))},[_c('div',{staticClass:"nav-file-title",class:{'is-active':_vm.isActivate},on:{"click":[function($event){if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.selectFile($event,false)},function($event){if(!$event.ctrlKey){ return null; }return _vm.selectFile($event,true)}],"dblclick":function($event){return _vm.$emit('open-file',_vm.item)},"contextmenu":function($event){$event.preventDefault();return _vm.$emit('context-menu',$event,_vm.item)}}},[_c('div',{staticClass:"nav-file-title-content"},[_vm._v("\r\n\t\t\t"+_vm._s((_vm.item.attrs && _vm.item.attrs.title) || _vm.item.name)+"\r\n\t\t")]),_vm._v(" "),_c('div',{staticClass:"nav-file-tag"},[_vm._v(_vm._s(_vm.item.ext))])])])},
staticRenderFns: [],

name: 'obtree-item',
Expand Down
35 changes: 33 additions & 2 deletions .obsidian/plugins/obsidian-colorful-tag/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"global_enable": {
"border": true,
"font-weight": true,
"prefix": false
"prefix": false,
"background-color": false
},
"global": {
"font-weight": "900",
"border": "1"
"border": "2"
},
"attrList": [
"nest tag",
Expand Down Expand Up @@ -183,6 +184,36 @@
"font-weight": "",
"tag": "bug",
"enable": true
},
{
"nest-tag": "",
"remove-hash": "",
"remove-tag-name": "",
"radius": "",
"prefix": "🎨",
"suffix": "",
"background-color": "#2965f1",
"text-color": "white",
"text-size": "",
"border": "",
"font-weight": "",
"tag": "CSS",
"enable": true
},
{
"nest-tag": "",
"remove-hash": "",
"remove-tag-name": "",
"radius": "",
"prefix": "",
"suffix": "",
"background-color": "#f7df1e",
"text-color": "white",
"text-size": "",
"border": "",
"font-weight": "",
"tag": "JavaScript",
"enable": true
}
],
"useTagDetail": true,
Expand Down
29 changes: 20 additions & 9 deletions .obsidian/plugins/obsidian-colorful-tag/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4216,29 +4216,40 @@ var ColorfulTag = class extends import_obsidian.Plugin {
css += `body a.tag[${reading_selector}] { ${style2} }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin { ${style3} }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end { ${style4} }`;
if (remove_hash.toLowerCase() == "true") {
if (remove_hash.toLowerCase() == "true" && remove_tag_name.toLowerCase() == "true") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin { font-size: 0px; }`;
if (remove_tag_name.toLowerCase() == "true" && suffix == "") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin::before { padding-right: var(--tag-padding-x); border-top-right-radius: ${radius} !important; border-bottom-right-radius: ${radius} !important; }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end { font-size: 0px; }`;
if (suffix == "" && prefix != "") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin::before { padding-right: 0.65em !important; border-top-right-radius: ${radius} !important; border-bottom-right-radius: ${radius} !important; }`;
} else if (prefix == "" && suffix != "") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end::after { padding-left: 0.65em !important; border-top-left-radius: ${radius} !important; border-bottom-left-radius: ${radius} !important; }`;
}
}
if (remove_tag_name.toLowerCase() == "true") {
} else if (remove_hash.toLowerCase() == "true") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin { font-size: 0px; }`;
if (prefix == "") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end { padding-left: 0.65em; border-top-right-radius: ${radius} !important; border-bottom-right-radius: ${radius} !important; }`;
}
} else if (remove_tag_name.toLowerCase() == "true") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end { font-size: 0px; }`;
if (remove_hash.toLowerCase() == "true" && prefix == "") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end::after { padding-left: var(--tag-padding-x); border-top-left-radius: ${radius} !important; border-bottom-left-radius: ${radius} !important; }`;
if (suffix == "") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin { padding-right: 0.65em; border-top-right-radius: ${radius} !important; border-bottom-right-radius: ${radius} !important; }`;
}
}
if (prefix != "") {
css += `body a.tag[${reading_selector}]::before { content: "${prefix} "; }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin::before { content: "${prefix} "; ${style1} }`;
css += `body a.tag[${reading_selector}]::before { ${style2}; }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin::before { ${style3}; padding-top: var(--tag-padding-y); padding-bottom: var(--tag-padding-y); padding-left: var(--tag-padding-x); }`;
if (remove_hash.toLowerCase() == "true") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-begin::before { ${style3}; padding-top: 0.2em; padding-bottom: 0.2em; padding-left: 0.65em; }`;
}
}
if (suffix != "") {
css += `body a.tag[${reading_selector}]::after { content: " ${suffix}"; }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end::after { content: " ${suffix}"; ${style1} }`;
css += `body a.tag[${reading_selector}]::after { ${style2}; }`;
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end::after { ${style4}; padding-top: var(--tag-padding-y); padding-bottom: var(--tag-padding-y); padding-right: var(--tag-padding-x); }`;
if (remove_tag_name.toLowerCase() == "true") {
css += `body .cm-s-obsidian .cm-line ${editing_selector}.cm-hashtag.cm-hashtag-end::after { ${style4}; padding-top: 0.2em; padding-bottom: 0.2em; padding-right: 0.65em; }`;
}
}
}
css += `.colorful-tag-rule.setting-item { margin-top: 0px }`;
Expand Down
Loading

0 comments on commit e01bb08

Please sign in to comment.