1
0

项目:引入 Obsidian

This commit is contained in:
周中平 2022-08-24 16:29:06 +08:00
parent 4ab754bb52
commit 973e28ad64
No known key found for this signature in database
GPG Key ID: B1DF9DD42D8E00DC
48 changed files with 72647 additions and 9 deletions

3
.gitignore vendored
View File

@ -21,4 +21,5 @@ yarn-error.log*
# other
/dist
/.vscode
/.vscode
/.trash

19
.obsidian/app.json vendored Normal file
View File

@ -0,0 +1,19 @@
{
"legacyEditor": false,
"livePreview": true,
"showLineNumber": true,
"spellcheck": false,
"spellcheckLanguages": [],
"trashOption": "system",
"promptDelete": true,
"communityPluginSortOrder": "download",
"attachmentFolderPath": "",
"userIgnoreFilters": [
"node_modules/",
"build/",
"src/",
"static/",
"templates/"
],
"newFileLocation": "current"
}

10
.obsidian/appearance.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"theme": "obsidian",
"cssTheme": "Minimal",
"interfaceFontFamily": "霞鹜文楷,微软雅黑",
"baseFontSize": 18,
"translucency": false,
"textFontFamily": "霞鹜文楷等宽,微软雅黑",
"monospaceFontFamily": "霞鹜文楷等宽,微软雅黑",
"baseFontSizeAction": false
}

9
.obsidian/community-plugins.json vendored Normal file
View File

@ -0,0 +1,9 @@
[
"calendar",
"obsidian-hider",
"code-block-copy",
"templater-obsidian",
"obsidian-mind-map",
"periodic-notes",
"obsidian-git"
]

12
.obsidian/core-plugins.json vendored Normal file
View File

@ -0,0 +1,12 @@
[
"file-explorer",
"global-search",
"tag-pane",
"page-preview",
"command-palette",
"editor-status",
"outline",
"word-count",
"workspaces",
"file-recovery"
]

22
.obsidian/graph.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": false
}

1
.obsidian/hotkeys.json vendored Normal file
View File

@ -0,0 +1 @@
{}

10
.obsidian/plugins/calendar/data.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"shouldConfirmBeforeCreate": true,
"weekStart": "locale",
"wordsPerDot": 250,
"showWeeklyNote": true,
"weeklyNoteFormat": "",
"weeklyNoteTemplate": "",
"weeklyNoteFolder": "",
"localeOverride": "zh-cn"
}

4457
.obsidian/plugins/calendar/main.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
{
"id": "calendar",
"name": "Calendar",
"description": "Calendar view of your daily notes",
"version": "1.5.10",
"author": "Liam Cain",
"authorUrl": "https://github.com/liamcain/",
"isDesktopOnly": false,
"minAppVersion": "0.9.11"
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
{
"id": "code-block-copy",
"name": "Copy button for code blocks",
"author": "Daniel Brandenburg",
"description": "Copy button for code blocks",
"isDesktopOnly": false,
"version": "0.1.0"
}

View File

@ -0,0 +1,41 @@
.copy-code-button {
color: var(--background-primary);
background-color: var(--text-faint);
border-radius: 1px 1px 0px 0px;
/* right-align */
display: block;
margin-left: auto;
margin-right: 0;
margin-bottom: -2px;
padding: 3px 8px;
font-size: 0.8em;
position: absolute;
top: 0px;
right: 0px;
}
.copy-code-button:hover {
cursor: pointer;
background-color: var(--text-normal);
}
.copy-code-button:focus {
/* Avoid an ugly focus outline on click in Chrome,
but darken the button for accessibility.
See https://stackoverflow.com/a/25298082/1481479 */
background-color: var(--text-normal);
outline: 0;
}
.copy-code-button:active {
background-color: var(--text-normal);
}
.highlight pre {
/* Avoid pushing up the copy buttons. */
margin: 0;
}
.has-copy-button {
position: relative;
}

View File

@ -0,0 +1,24 @@
{
"commitMessage": "backup: {{date}}",
"autoCommitMessage": "backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 0,
"autoPushInterval": 0,
"autoPullInterval": 0,
"autoPullOnBoot": false,
"disablePush": true,
"pullBeforePush": false,
"disablePopups": false,
"listChangedFilesInMessageBody": false,
"showStatusBar": true,
"updateSubmodules": false,
"syncMethod": "merge",
"gitPath": "",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": false,
"treeStructure": false,
"refreshSourceControl": true,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": true
}

15092
.obsidian/plugins/obsidian-git/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
{
"id": "obsidian-git",
"name": "Obsidian Git",
"description": "Backup your vault with git.",
"isDesktopOnly": true,
"js": "main.js",
"version": "1.28.0"
}

View File

@ -0,0 +1,413 @@
@keyframes loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading > svg {
animation: 2s linear infinite loading;
transform-origin: 50% 50%;
display: inline-block;
}
.obsidian-git-center {
margin: auto;
width: 50%;
}
.tooltip.mod-left {
overflow-wrap: break-word;
}
.tooltip.mod-right {
overflow-wrap: break-word;
}
.obsidian-git-shortcuts {
margin: 10px;
}
.diff-err {
height: 100%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.diff-err-sign {
font-size: 2em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
display: none;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
background-color: var(--background-primary);
border-bottom: 1px solid var(--interactive-accent);
font-family: var(--font-monospace);
height: 35px;
padding: 5px 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
font-size: 14px;
margin-left: auto;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
border: 1px solid #b4e2b4;
border-radius: 5px 0 0 5px;
color: #399839;
padding: 2px;
text-align: right;
vertical-align: middle;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
border: 1px solid #e9aeae;
border-radius: 0 5px 5px 0;
color: #c33;
margin-left: 1px;
padding: 2px;
text-align: left;
vertical-align: middle;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 15px;
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
margin-bottom: 1em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
-webkit-box-pack: end;
-ms-flex-pack: end;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
cursor: pointer;
display: none;
font-size: 12px;
justify-content: flex-end;
padding: 4px 8px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
background-color: #c8e1ff;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
margin: 0 4px 0 0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
border-collapse: collapse;
font-family: Menlo, Consolas, monospace;
font-size: 13px;
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
overflow-y: hidden;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
display: inline-block;
margin-bottom: -8px;
margin-right: -4px;
overflow-x: scroll;
overflow-y: hidden;
width: 50%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
padding: 0 8em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
padding: 0 4.5em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
word-wrap: normal;
background: none;
display: inline-block;
padding: 0;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
vertical-align: middle;
white-space: pre;
width: 100%;
}
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
del {
background-color: #ffb6ba;
}
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
del {
background-color: #8d232881;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
border-radius: 0.2em;
display: inline-block;
margin-top: -1px;
text-decoration: none;
vertical-align: middle;
}
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
ins {
background-color: #97f295;
text-align: left;
}
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
ins {
background-color: #1d921996;
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
word-wrap: normal;
background: none;
display: inline;
padding: 0;
white-space: pre;
}
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
float: left;
}
.workspace-leaf-content[data-type="diff-view"] .line-num1,
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
padding: 0 0.5em;
text-overflow: ellipsis;
width: 3.5em;
}
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
float: right;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-muted);
cursor: pointer;
display: inline-block;
position: absolute;
text-align: right;
width: 7.5em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
content: "\200b";
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-muted);
cursor: pointer;
display: inline-block;
overflow: hidden;
padding: 0 0.5em;
position: absolute;
text-align: right;
text-overflow: ellipsis;
width: 4em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
content: "\200b";
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
direction: rtl;
}
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #fee8e9;
border-color: #e9aeae;
}
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: #dfd;
border-color: #b4e2b4;
}
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #521b1d83;
border-color: #691d1d73;
}
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: rgba(30, 71, 30, 0.5);
border-color: #13501381;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
color: var(--text-normal);
}
.theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #fdf2d0;
}
.theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #55492480;
}
.theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: #ded;
}
.theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: rgba(37, 78, 37, 0.418);
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
margin-bottom: 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
color: #3572b0;
text-decoration: none;
}
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-list-wrapper
a:visited {
color: #3572b0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
font-weight: 700;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
display: block;
list-style: none;
margin: 0;
padding: 0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li {
border-bottom: 1px solid var(--background-modifier-border);
margin: 0;
padding: 5px 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li:last-child {
border-bottom: none;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
cursor: pointer;
display: none;
font-size: 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
fill: currentColor;
margin-right: 10px;
vertical-align: middle;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
color: #c33;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
color: #399839;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
color: #d0b44c;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
color: #3572b0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
background-color: var(--background-primary);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 10px;
margin-left: 5px;
padding: 0 2px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
border: 2px solid #c33;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
border: 1px solid #399839;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
border: 1px solid #d0b44c;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
border: 1px solid #3572b0;
}

View File

@ -0,0 +1,11 @@
{
"frameless": false,
"hideRibbon": false,
"hideStatus": false,
"hideScroll": false,
"hideTooltips": false,
"hideSearchSuggestions": false,
"hideInstructions": false,
"hideMeta": false,
"hideVault": true
}

277
.obsidian/plugins/obsidian-hider/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "obsidian-hider",
"name": "Hider",
"version": "1.1.1",
"minAppVersion": "0.12.2",
"description": "Hide UI elements such as tooltips, status, titlebar and more",
"author": "@kepano",
"authorUrl": "https://www.twitter.com/kepano",
"isDesktopOnly": false
}

View File

@ -0,0 +1,67 @@
/* Hides vault name */
.hider-vault .nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
display:none;
}
/* Hide ribbon */
.hider-ribbon .workspace-ribbon.mod-left {
display:none;
}
.hider-ribbon .workspace-ribbon.mod-right {
visibility:hidden;
position:absolute;
}
.hider-ribbon .workspace-split.mod-right-split {
margin-right:0;
}
.hider-ribbon .workspace-split.mod-left-split {
margin-left:0;
}
/* Frameless */
.hider-frameless .titlebar-button-container {
display:none;
}
.hider-frameless .titlebar,
.hider-frameless .titlebar-inner {
position:fixed;
top:0;
height:12px;
background:transparent;
}
.hider-frameless {
padding-top:0 !important;
}
.hider-frameless .workspace-split.mod-left-split > .workspace-tabs {
padding-top:18px;
}
/* Hide meta */
.hider-meta .frontmatter-container {
display:none;
}
/* Hide scrollbars */
.hider-scroll ::-webkit-scrollbar {
display:none;
}
/* Hide status */
.hider-status .status-bar {
display:none;
}
/* Hide tooltips */
.hider-tooltips .tooltip {
display:none;
}
/* Hide search suggestions */
.hider-search-suggestions .suggestion-container.mod-search-suggestion {
display: none;
}
/* Hide instructions */
.hider-instructions .prompt-instructions {
display:none;
}

View File

@ -0,0 +1,8 @@
{
"splitDirection": "vertical",
"nodeMinHeight": 16,
"lineHeight": "1em",
"spacingVertical": 5,
"spacingHorizontal": 80,
"paddingX": 8
}

32629
.obsidian/plugins/obsidian-mind-map/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
{
"id": "obsidian-mind-map",
"name": "Mind Map",
"version": "1.1.0",
"description": "A plugin to preview notes as Markmap mind maps",
"isDesktopOnly": false,
"js": "main.js"
}

View File

@ -0,0 +1,34 @@
{
"showGettingStartedBanner": false,
"hasMigratedDailyNoteSettings": false,
"hasMigratedWeeklyNoteSettings": false,
"daily": {
"format": "YYYY/[W]W/YYYY-MM-DD",
"template": "Templates/日志 - 日记模板.md",
"folder": "journal",
"enabled": true
},
"weekly": {
"format": "YYYY/[W]W/YYYY-[W]W",
"template": "Templates/日志 - 周记模板.md",
"folder": "journal",
"enabled": true
},
"monthly": {
"format": "",
"template": "",
"folder": ""
},
"quarterly": {
"format": "YYYY/YYYY-[Q]Q",
"template": "Templates/日志 - 季度模板.md",
"folder": "journal",
"enabled": true
},
"yearly": {
"format": "",
"template": "",
"folder": "",
"enabled": false
}
}

5559
.obsidian/plugins/periodic-notes/main.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
{
"id": "periodic-notes",
"name": "Periodic Notes",
"description": "Create/manage your daily, weekly, and monthly notes",
"version": "0.0.17",
"author": "Liam Cain",
"authorUrl": "https://github.com/liamcain/",
"isDesktopOnly": false,
"minAppVersion": "0.10.11"
}

View File

@ -0,0 +1,30 @@
.periodic-modal {
min-width: 40vw;
}
.settings-banner {
background-color: var(--background-primary-alt);
border-radius: 8px;
border: 1px solid var(--background-modifier-border);
margin-bottom: 1em;
margin-top: 1em;
padding: 1.5em;
text-align: left;
}
.settings-banner h3 {
margin-top: 0;
}
.settings-banner h4 {
margin-bottom: 0.25em;
}
.has-error {
color: var(--text-error);
}
input.has-error {
color: var(--text-error);
border-color: var(--text-error);
}

View File

@ -0,0 +1,37 @@
{
"command_timeout": 5,
"templates_folder": "templates",
"templates_pairs": [
[
"getWord",
"curl2 \"v1.hitokoto.cn/?c=d&c=e&c=h&c=i&c=k&c=j&encode=text&charset=utf-8\""
],
[
"getWeather",
"curl2 -H \"Accept-Language: zh\" \"wttr.in/%E9%83%91%E5%B7%9E?format=%l+%t+%c\""
],
[
"getMoon",
"curl2 -H \"Accept-Language: zh\" \"wttr.in/%E9%83%91%E5%B7%9E?format=%m\""
]
],
"trigger_on_file_creation": true,
"auto_jump_to_cursor": false,
"enable_system_commands": false,
"shell_path": "",
"user_scripts_folder": "",
"enable_folder_templates": true,
"folder_templates": [
{
"folder": "",
"template": ""
}
],
"syntax_highlighting": true,
"enabled_templates_hotkeys": [
""
],
"startup_templates": [
""
]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "templater-obsidian",
"name": "Templater",
"version": "1.12.0",
"description": "Create and use templates",
"minAppVersion": "0.11.13",
"author": "SilentVoid",
"authorUrl": "https://github.com/SilentVoid13",
"isDesktopOnly": false
}

View File

@ -0,0 +1,266 @@
.templater_search {
width: calc(100% - 20px);
}
.templater_div {
border-top: 1px solid var(--background-modifier-border);
}
.templater_div > .setting-item {
border-top: none !important;
align-self: center;
}
.templater_div > .setting-item > .setting-item-control {
justify-content: space-around;
padding: 0;
width: 100%;
}
.templater_div
> .setting-item
> .setting-item-control
> .setting-editor-extra-setting-button {
align-self: center;
}
.templater_title {
margin: 0;
padding: 0;
margin-top: 5px;
text-align: center;
}
.templater_template {
align-self: center;
margin-left: 5px;
margin-right: 5px;
width: 70%;
}
.templater_cmd {
margin-left: 5px;
margin-right: 5px;
font-size: 14px;
width: 100%;
}
.templater_div2 > .setting-item {
align-content: center;
justify-content: center;
}
.templater-prompt-div {
display: flex;
}
.templater-prompt-form {
display: flex;
flex-grow: 1;
}
.templater-prompt-input {
flex-grow: 1;
}
.cm-s-obsidian .templater-command-bg {
left: 0px;
right: 0px;
background-color: var(--background-primary-alt);
}
.cm-s-obsidian .cm-templater-command {
font-size: 0.85em;
font-family: var(--font-monospace);
line-height: 1.3;
}
.cm-s-obsidian .templater-inline .cm-templater-command {
background-color: var(--background-primary-alt);
}
.cm-s-obsidian .cm-templater-command.cm-templater-opening-tag {
font-weight: bold;
}
.cm-s-obsidian .cm-templater-command.cm-templater-closing-tag {
font-weight: bold;
}
.cm-s-obsidian .cm-templater-command.cm-templater-interpolation-tag {
color: #008bff;
}
.cm-s-obsidian .cm-templater-command.cm-templater-execution-tag {
color: #c0d700;
}
.cm-s-obsidian .cm-templater-command.cm-templater-raw-tag {
color: green;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-keyword {
color: #00a7aa;
font-weight: normal;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-atom {
color: #f39b35;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-number {
color: #a06fca;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-type {
color: #a06fca;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-def {
color: #98e342;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-property {
color: #d4d4d4;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-variable {
color: #d4d4d4;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-variable-2 {
color: #da7dae;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-variable-3 {
color: #a06fca;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-type.cm-def {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-property.cm-def {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-callee {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-operator {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-qualifier {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-tag {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-tag.cm-bracket {
color: #d4d4d4;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-attribute {
color: #a06fca;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-comment {
color: #696d70;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-comment.cm-tag {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-comment.cm-attribute {
color: #d4d4d4;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-string {
color: #e6db74;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-string-2 {
color: #f39b35;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-meta {
color: #d4d4d4;
background: inherit;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-builtin {
color: #fc4384;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-header {
color: #da7dae;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-hr {
color: #98e342;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-link {
color: #696d70;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-error {
border-bottom: 1px solid #c42412;
}
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-keyword {
font-weight: normal;
}
.theme-dark
.cm-s-obsidian
.cm-templater-command.CodeMirror-activeline-background {
background: #272727;
}
.theme-dark .cm-s-obsidian .cm-templater-command.CodeMirror-matchingbracket {
outline: 1px solid grey;
color: #d4d4d4 !important;
}
.CodeMirror-hints {
position: absolute;
z-index: 10;
overflow: hidden;
list-style: none;
margin: 0;
padding: 2px;
-webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
border-radius: 3px;
border: 1px solid silver;
background: white;
font-size: 90%;
font-family: monospace;
max-height: 20em;
overflow-y: auto;
}
.CodeMirror-hint {
margin: 0;
padding: 0 4px;
border-radius: 2px;
white-space: pre;
color: black;
cursor: pointer;
}
li.CodeMirror-hint-active {
background: #08f;
color: white;
}

3
.obsidian/templates.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"folder": "Templates"
}

1410
.obsidian/themes/Minimal.css vendored Normal file

File diff suppressed because one or more lines are too long

133
.obsidian/workspace vendored Normal file
View File

@ -0,0 +1,133 @@
{
"main": {
"id": "aef19953996fd0c5",
"type": "split",
"children": [
{
"id": "742c808ba884e60f",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
}
}
],
"direction": "vertical"
},
"left": {
"id": "60353d19af174724",
"type": "split",
"children": [
{
"id": "d78978bb6b367a82",
"type": "tabs",
"children": [
{
"id": "92f10fe65b93bf04",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
}
},
{
"id": "e24a3c68faad542b",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": true,
"explainSearch": true,
"collapseAll": true,
"extraContext": true,
"sortOrder": "alphabetical"
}
}
},
{
"id": "73ad29197a6e1773",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {}
}
}
],
"currentTab": 2
}
],
"direction": "horizontal",
"width": 210
},
"right": {
"id": "3d677101148143c0",
"type": "split",
"children": [
{
"id": "034034de08b4d175",
"type": "tabs",
"children": [
{
"id": "2753a359836a013d",
"type": "leaf",
"state": {
"type": "calendar",
"state": {}
}
},
{
"id": "62860138dbdf0e59",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "92b15a12fd189d16",
"type": "leaf",
"state": {
"type": "outline",
"state": {}
}
},
{
"id": "d66606c176ee3a2e",
"type": "leaf",
"state": {
"type": "advanced-tables-toolbar",
"state": {}
}
},
{
"id": "ed729260027c7607",
"type": "leaf",
"state": {
"type": "git-view",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 238.5
},
"active": "73ad29197a6e1773",
"lastOpenFiles": [
"blog/写十万字的博客是一种什么感觉.md",
"blog/未命名.md",
"templates/博客 - 快速模板.md",
"templates/文档 - 快速模板.md",
"templates/文档 - 完全模板.md",
"templates/日志 - 周记模板.md",
"templates/日志 - 日记模板.md",
"templates/日志 - 季度模板.md",
"templates/博客 - 完全模板.md",
"未命名.md"
]
}

246
.obsidian/workspaces.json vendored Normal file
View File

@ -0,0 +1,246 @@
{
"workspaces": {
"default": {
"main": {
"id": "aef19953996fd0c5",
"type": "split",
"children": [
{
"id": "742c808ba884e60f",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Templates/文档快速模板.md",
"mode": "source",
"backlinks": false,
"source": false
}
}
}
],
"direction": "vertical"
},
"left": {
"id": "60353d19af174724",
"type": "split",
"children": [
{
"id": "d78978bb6b367a82",
"type": "tabs",
"children": [
{
"id": "92f10fe65b93bf04",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
}
},
{
"id": "e24a3c68faad542b",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": true,
"explainSearch": true,
"collapseAll": true,
"extraContext": true,
"sortOrder": "alphabetical"
}
}
},
{
"id": "73ad29197a6e1773",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {}
}
}
],
"currentTab": 2
}
],
"direction": "horizontal",
"width": 210
},
"right": {
"id": "3d677101148143c0",
"type": "split",
"children": [
{
"id": "034034de08b4d175",
"type": "tabs",
"children": [
{
"id": "2753a359836a013d",
"type": "leaf",
"state": {
"type": "calendar",
"state": {}
}
},
{
"id": "62860138dbdf0e59",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "92b15a12fd189d16",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "Templates/文档快速模板.md"
}
}
},
{
"id": "d66606c176ee3a2e",
"type": "leaf",
"state": {
"type": "advanced-tables-toolbar",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 238.5
},
"active": "742c808ba884e60f"
},
"wiki": {
"main": {
"id": "aef19953996fd0c5",
"type": "split",
"children": [
{
"id": "742c808ba884e60f",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
}
}
],
"direction": "vertical"
},
"left": {
"id": "60353d19af174724",
"type": "split",
"children": [
{
"id": "d78978bb6b367a82",
"type": "tabs",
"children": [
{
"id": "92f10fe65b93bf04",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
}
},
{
"id": "e24a3c68faad542b",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": true,
"explainSearch": true,
"collapseAll": true,
"extraContext": true,
"sortOrder": "alphabetical"
}
}
},
{
"id": "73ad29197a6e1773",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {}
}
}
],
"currentTab": 2
}
],
"direction": "horizontal",
"width": 210
},
"right": {
"id": "3d677101148143c0",
"type": "split",
"children": [
{
"id": "034034de08b4d175",
"type": "tabs",
"children": [
{
"id": "2753a359836a013d",
"type": "leaf",
"state": {
"type": "calendar",
"state": {}
}
},
{
"id": "62860138dbdf0e59",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "92b15a12fd189d16",
"type": "leaf",
"state": {
"type": "outline",
"state": {}
}
},
{
"id": "d66606c176ee3a2e",
"type": "leaf",
"state": {
"type": "advanced-tables-toolbar",
"state": {}
}
},
{
"id": "ed729260027c7607",
"type": "leaf",
"state": {
"type": "git-view",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 238.5
},
"active": "73ad29197a6e1773"
}
},
"active": "wiki"
}

View File

@ -1,10 +1,9 @@
# 7Wate 知识库
> Always For Freedom.
>
> 一个喜欢异想天开的家伙 💨
>
> 在这里记录知识,希望对你也有帮助。
在这里记录知识,希望对你也有帮助。
![站点首页](https://static.7wate.com/img/2022/08/03/6a2e91bd8ce1a.png)
@ -12,13 +11,13 @@
```markdown
Docuasurus
├─ art艺术
├─ blog博客
├─ docs文档
├─ group组织
│ ├─ company公司
│ ├─ government国家
│ └─ organization社区
├─ journal日志
├─ life生活
├─ wiki维基
│ ├─ algo算法
@ -29,9 +28,16 @@ Docuasurus
└─ work职业
```
## 分支
```markdown
Main主分支
├─ dev预览分支
├─ pc电脑分支
└─ pp手机分支
```
## 贡献
![Alt](https://repobeats.axiom.co/api/embed/b6e6a199e422ce596ea7423372746b6debadaa7d.svg "Repobeats analytics image")
欢迎各位 Fork 贡献 👊
## 协议

View File

@ -1,4 +1,4 @@
7wate:
7Wate:
name: Seven Wate
title: For Freedom
url: https://blog.7wate.com

View File

@ -2,7 +2,7 @@
slug: 写十万字的博客是一种什么感觉
title: 写十万字的博客是一种什么感觉
authors:
- 7wate
- 7Wate
---
年初的时候就粗略统计了一下,快要突破十万字了。还想着十万字的时候浪漫一下子 ~ 但是现在也没有太大的感觉。在我求学期间我很烦写文章的,基本就是最低分和极少数情况下的近满分,想不到运营博客这第五个年头也是破十万字了。

View File

@ -5,5 +5,5 @@ sidebar_position: 1
# Home
记录日志
记录生活日志 ~

View File

@ -0,0 +1,25 @@
---
authors:
- slorber
- yangshun
- name: Joel Marcey
title: Docusaurus 1 合作创造者
url: https://github.com/JoelMarcey
image_url: https://github.com/JoelMarcey.png
email: jimarcey@gmail.com
title: string | 博文的标题
date: string | 博文的创建时间
tags:
- 标签
draft: boolean | 一个布尔值,表明博文处于未完成状态。 博文草稿只会在开发模式下显示。
hide_table_of_contents: boolean | 是否隐藏右侧的文档目录。
toc_min_heading_level: number | 目录中显示的最小标题层级。 必须介于 2 到 6 之间,并且小于等于最大值。
toc_max_heading_level: number | 目录中显示的最大标题层级。 必须介于 2 和 6。
keywords:
- 用于搜索引擎优化的文档关键词元标签。
description: string | 文档的描述信息
image: string | 显示文档链接时所用的缩略图或封面。
slug: string | 自定义文档的 URL
---
一篇博客 - 完全模板

View File

@ -0,0 +1,13 @@
---
title: 标题
description: 描述
keywords:
- 关键字
tags:
- 标签
authors:
- 7Wate
data: <% tp.date.now("YYYY-MM-DD") %>
---
一篇博客 - 快速模板

View File

@ -0,0 +1,29 @@
---
id: string | 文档的唯一 ID
title: string | 文档文本标题
pagination_label: string | 这篇文档在上一篇/下一篇按钮中显示的文本
sidebar_labelstring | 这篇文档在侧边栏中显示的文本
sidebar_position: number | 使用 `autogenerated` 自动生成侧边栏项目时,控制文档在侧边栏中出现的位置顺序。
sidebar_class_name: string | 在使用自动生成侧边栏时,给相应的侧边栏标签一个特殊类名。
hide_title: boolean | 是否隐藏文档顶部显示的标题。 此选项只会隐藏前言中定义的标题,对于 Markdown 文档顶部的标题没有任何影响。
hide_table_of_contents: boolean | 是否隐藏右侧的文档目录。
toc_min_heading_level: number | 目录中显示的最小标题层级。 必须介于 2 到 6 之间,并且小于等于最大值。
toc_max_heading_level: number | 目录中显示的最大标题层级。 必须介于 2 和 6。
pagination_next: string | null | 「下篇文档」按钮链接到的文档 ID。 `null` 会禁用本页的「下篇文档」按钮。
pagination_prev: string | null | 「上篇文档」按钮链接到的文档 ID。 `null` 会禁用本页的「上篇文档」按钮。
parse_number_prefixes: boolean | 是否禁用本文档的数字前缀解析。 另见[使用数字前缀]
custom_edit_url: string | 编辑此文档时要跳转到的 URL。
keywords:
- 用于搜索引擎优化的文档关键词元标签。
description: string | 文档的描述信息
image: string | 显示文档链接时所用的缩略图或封面。
slug: string | 自定义文档的 URL
tags:
- 文档标签
draft: boolean | 表明文档处于未完成状态
last_update:
date: 1/1/2000
author: 自定义作者名
---
一篇文档 - 完全模板

View File

@ -0,0 +1,13 @@
---
title: 标题
description: 描述
keywords:
- 关键字
tags:
- 标签
last_update:
author: 7Wate
date: <% tp.date.now("YYYY-MM-DD") %>
---
一篇文档 - 快速模板

View File

@ -0,0 +1,17 @@
# <% tp.date.now() %>
## Info
| Date | Weather | Moon |
| -------------- | ------------ | ---- |
| <% tp.date.now("ddd HH:mm") %> | <% tp.user.getWeather() %> | <% tp.user.getMoon() %> |
> <% tp.user.getWord() %>
## Process
## Problem
## Notes

View File

@ -0,0 +1,15 @@
# <% tp.date.now() %>
## Info
| Date | Weather | Moon |
| -------------- | ------------ | ---- |
| <% tp.date.now("ddd HH:mm") %> | <% tp.user.getWeather() %> | <% tp.user.getMoon() %> |
> <% tp.user.getWord() %>
## Performance
## Plan
## Note

View File

@ -0,0 +1,31 @@
# <% tp.date.now() %>
## Info
| Date | Weather | Moon |
| -------------- | ------------ | ---- |
| <% tp.date.now("ddd HH:mm") %> | <% tp.web.daily_weather("郑州","zh") %> | <% tp.web.daily_weather("郑州","zh","?format=%m") %> |
## daily
<% tp.web.daily_poetry() %>
<% tp.web.daily_picture("1920x1080","mountain,water,landscape,galaxy,city")%>
## Habits
- [ ] 早睡早起 🌃
- [ ] 健康饮食 🥗
- [ ] 多喝热水 ☕️
- [ ] 保持运动 💪
## To-do List
- [ ] 阅读资讯
- [ ] 今日读书
- [ ] 今日计划
- [ ] 今日分享
## Notes