Initial commit

This commit is contained in:
Nick 2024-06-28 02:13:12 -05:00
commit bc15d67574
1475 changed files with 1056167 additions and 0 deletions

16
.obsidian/plugins/typst/data.json vendored Normal file
View file

@ -0,0 +1,16 @@
{
"format": "image",
"noFill": true,
"fill": "#ffffff",
"pixel_per_pt": 3,
"search_system": false,
"override_math": false,
"font_families": [],
"preamable": {
"shared": "#set text(fill: white, size: SIZE)\n#set page(width: WIDTH, height: HEIGHT)",
"math": "#set page(margin: 0pt)\n#set align(horizon)",
"code": "#set page(margin: (y: 1em, x: 0pt))"
},
"plugin_version": "0.10.0",
"autoDownloadPackages": true
}

1114
.obsidian/plugins/typst/main.js vendored Normal file

File diff suppressed because one or more lines are too long

13
.obsidian/plugins/typst/manifest.json vendored Normal file
View file

@ -0,0 +1,13 @@
{
"id": "typst",
"name": "Typst Renderer",
"version": "0.10.0",
"minAppVersion": "1.0.0",
"description": "Renders `typst` code blocks and math blocks with Typst.",
"author": "fenjalien",
"authorUrl": "https://github.com/fenjalien",
"fundingUrl": {
"GitHub Sponsor": "https://github.com/sponsors/fenjalien",
"ko-fi": "https://ko-fi.com/fenjalien"
}
}

Binary file not shown.

92
.obsidian/plugins/typst/styles.css vendored Normal file
View file

@ -0,0 +1,92 @@
/* styles */
textarea {
width: 100%;
resize: vertical;
}
.setting-item:has(textarea),
.font-settings,
.package-settings {
flex-direction: column;
gap: 0.5em;
align-items: stretch;
}
.is-disabled {
display: none;
}
.add-fonts-div {
display: flex;
gap: 0.5em;
}
.font-input {
flex-grow: 1;
}
.font-tags-div {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
}
.font-tag {
background-color: var(--interactive-normal); /* #363636 */
border-radius: 20px;
padding: 0.5em 0.6em 0.5em 1em;
}
.tag-btn {
margin-left: 0.6em;
padding: 0.4em;
}
.font-tag-text {
font-size: var(--font-ui-small);
}
button,
.tag-btn {
cursor: pointer;
}
.tag-btn:hover {
color: var(--interactive-accent);
}
.typst-doc {
vertical-align: bottom;
}
typst-renderer {
display: inline-block;
}
.package-settings {
gap: 0;
}
.package-settings .setting-item-description {
margin: 0.5em 0;
}
.package-item {
display: flex;
border-bottom: 1px solid var(--background-modifier-border);
gap: 0.5em;
align-items: center;
font-size: var(--font-ui-small);
}
.package-version {
margin-left: auto;
}
.delete-pkg-btn {
margin-top: 1.5em;
width: max-content;
margin-left: auto;
}