├── .gitignore ├── LICENSE ├── README.md ├── examples └── stlc │ ├── .obsidian │ ├── config │ ├── graph.json │ ├── plugins │ │ └── obsidian-latex │ │ │ └── manifest.json │ └── workspace │ ├── Typing.md │ └── preamble.sty ├── main.ts ├── manifest.json ├── package.json ├── rollup.config.js ├── styles.css ├── tsconfig.json ├── versions.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Intellij 2 | *.iml 3 | .idea 4 | 5 | # npm 6 | node_modules 7 | package-lock.json 8 | 9 | # build 10 | data.json 11 | main.js 12 | *.js.map 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2023 Ng Wei En 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Obsidian Extended MathJax 2 | 3 | This plugin extends the MathJax support in Obsidian with a MathJax preamble file which is loaded at startup. It also enables some additional MathJax extensions (notably `mhchem` and `bussproofs`). 4 | 5 | The preamble is stored in a `preamble.sty` file in the root of the vault. 6 | 7 | ### Installation 8 | 9 | 1. Install 'Extended MathJax' from the Obsidian community plugin browser. 10 | 2. Create a `preamble.sty` file in the root of your vault using your choice of text editor. 11 | 3. Add your macros to `preamble.sty` 12 | 13 | ### Changing your preamble 14 | 15 | If you make changes to your preamble you will need to run the command "Reload app without saving". This will reload all your Obsidian plugins and your preamble. 16 | 17 | ### Example 18 | 19 | Look at `examples/stlc` for an example of an obsidian vault using a preamble to define custom macros. 20 | -------------------------------------------------------------------------------- /examples/stlc/.obsidian/config: -------------------------------------------------------------------------------- 1 | {"pluginEnabledStatus":{"file-explorer":true,"global-search":true,"switcher":true,"graph":true,"backlink":true,"command-palette":true,"markdown-importer":true,"word-count":true,"open-with-default-app":true},"enabledPlugins":["obsidian-latex"]} -------------------------------------------------------------------------------- /examples/stlc/.obsidian/graph.json: -------------------------------------------------------------------------------- 1 | {"search":"","showTags":false,"showAttachments":false,"hideUnresolved":false,"showOrphans":true,"showArrow":false,"textFadeMultiplier":0,"nodeSizeMultiplier":1,"lineSizeMultiplier":1,"centerStrength":0.518713248970312,"repelStrength":10,"linkStrength":1,"linkDistance":250,"scale":1} -------------------------------------------------------------------------------- /examples/stlc/.obsidian/plugins/obsidian-latex/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "obsidian-latex", 3 | "name": "Extended MathJax", 4 | "version": "0.1.0", 5 | "minAppVersion": "0.9.12", 6 | "description": "Adds support for a MathJax preamble and enables additional MathJax extensions for specific domains (chemistry, proofs).", 7 | "author": "Xavier Denis", 8 | "authorUrl": "https://github.com/xldenis/obsidian-latex", 9 | "isDesktopOnly": false 10 | } 11 | -------------------------------------------------------------------------------- /examples/stlc/.obsidian/workspace: -------------------------------------------------------------------------------- 1 | { 2 | "main": { 3 | "id": "b42b12c1bc5c24b7", 4 | "type": "split", 5 | "children": [ 6 | { 7 | "id": "03f8128fe6e11b12", 8 | "type": "leaf", 9 | "active": true, 10 | "state": { 11 | "type": "markdown", 12 | "state": { 13 | "file": "Typing.md", 14 | "mode": "source" 15 | } 16 | } 17 | } 18 | ], 19 | "direction": "vertical" 20 | }, 21 | "left": { 22 | "id": "3324b6204fbe39de", 23 | "type": "split", 24 | "children": [ 25 | { 26 | "id": "e91c48a3ed998f51", 27 | "type": "tabs", 28 | "children": [ 29 | { 30 | "id": "7f4de1f49086f926", 31 | "type": "leaf", 32 | "state": { 33 | "type": "file-explorer", 34 | "state": {} 35 | } 36 | }, 37 | { 38 | "id": "933d59a0ec818683", 39 | "type": "leaf", 40 | "state": { 41 | "type": "search", 42 | "state": { 43 | "query": "", 44 | "matchingCase": false, 45 | "explainSearch": false, 46 | "collapseAll": false, 47 | "extraContext": false, 48 | "sortOrder": "alphabetical" 49 | } 50 | } 51 | } 52 | ] 53 | } 54 | ], 55 | "direction": "horizontal", 56 | "width": 300 57 | }, 58 | "right": { 59 | "id": "25c10e328e92dcad", 60 | "type": "split", 61 | "children": [ 62 | { 63 | "id": "e75fccf8cb74beb2", 64 | "type": "tabs", 65 | "children": [ 66 | { 67 | "id": "6839ac5f54e5776b", 68 | "type": "leaf", 69 | "state": { 70 | "type": "backlink", 71 | "state": { 72 | "file": "Typing.md", 73 | "collapseAll": false, 74 | "extraContext": false, 75 | "sortOrder": "alphabetical", 76 | "backlinkCollapsed": false, 77 | "unlinkedCollapsed": true 78 | } 79 | } 80 | } 81 | ] 82 | } 83 | ], 84 | "direction": "horizontal", 85 | "width": 300, 86 | "collapsed": true 87 | }, 88 | "lastOpenFiles": [ 89 | "Typing.md", 90 | "Untitled.md" 91 | ] 92 | } -------------------------------------------------------------------------------- /examples/stlc/Typing.md: -------------------------------------------------------------------------------- 1 | Using **Extended MathJax** we can make use of packages such as `bussproofs` to typeset proof rules, for example below we include the rules for the Simply Typed Lambda Calculus. 2 | 3 | This example makes use a custom `\typing` macro to typeset typing judgements. 4 | 5 | $$ 6 | \begin{prooftree} 7 | \AxiomC{$\typing[x : A, \Gamma]{M}{B}$} 8 | \RL{(T-ABS)} 9 | \UnaryInfC{$\typing{\lambda x. M}{A \rightarrow B}$} 10 | \end{prooftree} 11 | $$ 12 | 13 | $$ 14 | \begin{prooftree} 15 | \AxiomC{$\typing{M}{A \rightarrow B}$} 16 | \AxiomC{$\typing{N}{A}$} 17 | \RL{(T-APP)} 18 | \BinaryInfC{$\typing{M~N}{B}$} 19 | \end{prooftree} 20 | $$ 21 | 22 | $$ 23 | \begin{prooftree} 24 | \AxiomC{$x : A \in \Gamma$} 25 | \RL{(T-VAR)} 26 | \UnaryInfC{$\typing{x}{A}$} 27 | \end{prooftree} 28 | $$ -------------------------------------------------------------------------------- /examples/stlc/preamble.sty: -------------------------------------------------------------------------------- 1 | \newcommand{\typing}[3][\Gamma]{#1 \vdash #2 : #3} 2 | -------------------------------------------------------------------------------- /main.ts: -------------------------------------------------------------------------------- 1 | import { loadMathJax, App, Plugin, PluginManifest, PluginSettingTab, Setting } from 'obsidian'; 2 | 3 | interface PluginSettings { 4 | preamblePath: string; 5 | } 6 | 7 | const DEFAULT_SETTINGS: PluginSettings = { 8 | preamblePath: "preamble.sty", 9 | }; 10 | 11 | export default class JaxPlugin extends Plugin { 12 | app: App; 13 | settings: PluginSettings; 14 | 15 | constructor(app: App, manifest: PluginManifest) { 16 | super(app, manifest); 17 | this.app = app; 18 | this.settings = DEFAULT_SETTINGS; 19 | } 20 | 21 | async loadPreamble() { 22 | const preamble = await this.app.vault.adapter.read(this.settings.preamblePath); 23 | 24 | if (MathJax.tex2chtml == undefined) { 25 | MathJax.startup.ready = () => { 26 | MathJax.startup.defaultReady(); 27 | MathJax.tex2chtml(preamble); 28 | }; 29 | } else { 30 | MathJax.tex2chtml(preamble); 31 | } 32 | } 33 | 34 | async loadSettings() { 35 | this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); 36 | } 37 | 38 | async saveSettings() { 39 | await this.saveData(this.settings); 40 | } 41 | 42 | async onload() { 43 | await this.loadSettings(); 44 | this.addSettingTab(new JaxPluginSettingTab(this.app, this)); 45 | 46 | // Load MathJax so that we can modify it 47 | // Otherwise, it would not be loaded when this plugin is loaded 48 | await loadMathJax(); 49 | 50 | if (!MathJax) { 51 | console.warn("MathJax was not defined despite loading it."); 52 | return; 53 | } 54 | 55 | await this.loadPreamble(); 56 | // TODO: Refresh view? 57 | } 58 | 59 | onunload() { 60 | // TODO: Is it possible to remove our definitions? 61 | console.log('Unloading Extended MathJax'); 62 | } 63 | } 64 | 65 | class JaxPluginSettingTab extends PluginSettingTab { 66 | plugin: JaxPlugin; 67 | 68 | constructor(app: App, plugin: JaxPlugin) { 69 | super(app, plugin); 70 | this.plugin = plugin; 71 | } 72 | 73 | display(): void { 74 | const { containerEl } = this; 75 | containerEl.empty(); 76 | 77 | new Setting(containerEl) 78 | .setName('Preamble path') 79 | .setDesc('Path to global preamble. (Requires reload!)') 80 | .addText((text) => 81 | text 82 | .setValue(this.plugin.settings.preamblePath) 83 | .onChange(async (value) => { 84 | this.plugin.settings.preamblePath = value; 85 | await this.plugin.saveSettings(); 86 | }) 87 | ); 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "obsidian-latex", 3 | "name": "Extended MathJax", 4 | "version": "0.4.1", 5 | "minAppVersion": "0.12.16", 6 | "description": "Adds support for a MathJax preamble and enables additional MathJax extensions for specific domains (chemistry, proofs).", 7 | "author": "Xavier Denis & Ng Wei En", 8 | "authorUrl": "https://github.com/wei2912/obsidian-latex", 9 | "isDesktopOnly": false 10 | } 11 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "obsidian-sample-plugin", 3 | "version": "0.9.7", 4 | "description": "This is a sample plugin for Obsidian (https://obsidian.md)", 5 | "main": "main.js", 6 | "scripts": { 7 | "dev": "rollup --config rollup.config.js -w", 8 | "build": "rollup --config rollup.config.js" 9 | }, 10 | "keywords": [], 11 | "author": "", 12 | "license": "MIT", 13 | "devDependencies": { 14 | "@rollup/plugin-commonjs": "^15.1.0", 15 | "@rollup/plugin-node-resolve": "^9.0.0", 16 | "@rollup/plugin-typescript": "^6.0.0", 17 | "@types/node": "^14.14.2", 18 | "mathjax": "^3.1.2", 19 | "obsidian": "^0.12.16", 20 | "rollup": "^2.32.1", 21 | "tslib": "^2.0.3", 22 | "typescript": "^4.0.3" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | import typescript from '@rollup/plugin-typescript'; 2 | import {nodeResolve} from '@rollup/plugin-node-resolve'; 3 | import commonjs from '@rollup/plugin-commonjs'; 4 | 5 | export default { 6 | input: 'main.ts', 7 | output: { 8 | dir: '.', 9 | sourcemap: 'inline', 10 | format: 'cjs', 11 | exports: 'default' 12 | }, 13 | external: ['obsidian'], 14 | plugins: [ 15 | typescript(), 16 | nodeResolve({browser: true}), 17 | commonjs(), 18 | ] 19 | }; -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wei2912/obsidian-latex/3a298698b604f338ff75a5fe21219846b51d18a4/styles.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "inlineSourceMap": true, 5 | "inlineSources": true, 6 | "module": "ESNext", 7 | "target": "es5", 8 | "allowJs": true, 9 | "noImplicitAny": true, 10 | "moduleResolution": "node", 11 | "importHelpers": true, 12 | "lib": [ 13 | "dom", 14 | "es5", 15 | "scripthost", 16 | "es2015" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "0.1.0": "0.9.12", 3 | "0.2.0": "0.11.13", 4 | "0.3.0": "0.12.16" 5 | } 6 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@rollup/plugin-commonjs@^15.1.0": 6 | version "15.1.0" 7 | resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-15.1.0.tgz#1e7d076c4f1b2abf7e65248570e555defc37c238" 8 | integrity sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ== 9 | dependencies: 10 | "@rollup/pluginutils" "^3.1.0" 11 | commondir "^1.0.1" 12 | estree-walker "^2.0.1" 13 | glob "^7.1.6" 14 | is-reference "^1.2.1" 15 | magic-string "^0.25.7" 16 | resolve "^1.17.0" 17 | 18 | "@rollup/plugin-node-resolve@^9.0.0": 19 | version "9.0.0" 20 | resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz#39bd0034ce9126b39c1699695f440b4b7d2b62e6" 21 | integrity sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg== 22 | dependencies: 23 | "@rollup/pluginutils" "^3.1.0" 24 | "@types/resolve" "1.17.1" 25 | builtin-modules "^3.1.0" 26 | deepmerge "^4.2.2" 27 | is-module "^1.0.0" 28 | resolve "^1.17.0" 29 | 30 | "@rollup/plugin-typescript@^6.0.0": 31 | version "6.1.0" 32 | resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-6.1.0.tgz#289e7f0ea12fd659bd13ad59dda73b9055538b83" 33 | integrity sha512-hJxaiE6WyNOsK+fZpbFh9CUijZYqPQuAOWO5khaGTUkM8DYNNyA2TDlgamecE+qLOG1G1+CwbWMAx3rbqpp6xQ== 34 | dependencies: 35 | "@rollup/pluginutils" "^3.1.0" 36 | resolve "^1.17.0" 37 | 38 | "@rollup/pluginutils@^3.1.0": 39 | version "3.1.0" 40 | resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" 41 | integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== 42 | dependencies: 43 | "@types/estree" "0.0.39" 44 | estree-walker "^1.0.1" 45 | picomatch "^2.2.2" 46 | 47 | "@types/codemirror@0.0.108": 48 | version "0.0.108" 49 | resolved "https://registry.yarnpkg.com/@types/codemirror/-/codemirror-0.0.108.tgz#e640422b666bf49251b384c390cdeb2362585bde" 50 | integrity sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw== 51 | dependencies: 52 | "@types/tern" "*" 53 | 54 | "@types/estree@*": 55 | version "0.0.47" 56 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.47.tgz#d7a51db20f0650efec24cd04994f523d93172ed4" 57 | integrity sha512-c5ciR06jK8u9BstrmJyO97m+klJrrhCf9u3rLu3DEAJBirxRqSCvDQoYKmxuYwQI5SZChAWu+tq9oVlGRuzPAg== 58 | 59 | "@types/estree@0.0.39": 60 | version "0.0.39" 61 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" 62 | integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== 63 | 64 | "@types/node@*", "@types/node@^14.14.2": 65 | version "14.14.41" 66 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.41.tgz#d0b939d94c1d7bd53d04824af45f1139b8c45615" 67 | integrity sha512-dueRKfaJL4RTtSa7bWeTK1M+VH+Gns73oCgzvYfHZywRCoPSd8EkXBL0mZ9unPTveBn+D9phZBaxuzpwjWkW0g== 68 | 69 | "@types/resolve@1.17.1": 70 | version "1.17.1" 71 | resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" 72 | integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== 73 | dependencies: 74 | "@types/node" "*" 75 | 76 | "@types/tern@*": 77 | version "0.23.3" 78 | resolved "https://registry.yarnpkg.com/@types/tern/-/tern-0.23.3.tgz#4b54538f04a88c9ff79de1f6f94f575a7f339460" 79 | integrity sha512-imDtS4TAoTcXk0g7u4kkWqedB3E4qpjXzCpD2LU5M5NAXHzCDsypyvXSaG7mM8DKYkCRa7tFp4tS/lp/Wo7Q3w== 80 | dependencies: 81 | "@types/estree" "*" 82 | 83 | balanced-match@^1.0.0: 84 | version "1.0.2" 85 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 86 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 87 | 88 | brace-expansion@^1.1.7: 89 | version "1.1.11" 90 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 91 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 92 | dependencies: 93 | balanced-match "^1.0.0" 94 | concat-map "0.0.1" 95 | 96 | builtin-modules@^3.1.0: 97 | version "3.2.0" 98 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887" 99 | integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA== 100 | 101 | commondir@^1.0.1: 102 | version "1.0.1" 103 | resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" 104 | integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= 105 | 106 | concat-map@0.0.1: 107 | version "0.0.1" 108 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 109 | integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= 110 | 111 | deepmerge@^4.2.2: 112 | version "4.2.2" 113 | resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" 114 | integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== 115 | 116 | estree-walker@^1.0.1: 117 | version "1.0.1" 118 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" 119 | integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== 120 | 121 | estree-walker@^2.0.1: 122 | version "2.0.2" 123 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" 124 | integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== 125 | 126 | fs.realpath@^1.0.0: 127 | version "1.0.0" 128 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 129 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= 130 | 131 | fsevents@~2.3.1: 132 | version "2.3.2" 133 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" 134 | integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== 135 | 136 | function-bind@^1.1.1: 137 | version "1.1.1" 138 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 139 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== 140 | 141 | glob@^7.1.6: 142 | version "7.1.6" 143 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" 144 | integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== 145 | dependencies: 146 | fs.realpath "^1.0.0" 147 | inflight "^1.0.4" 148 | inherits "2" 149 | minimatch "^3.0.4" 150 | once "^1.3.0" 151 | path-is-absolute "^1.0.0" 152 | 153 | has@^1.0.3: 154 | version "1.0.3" 155 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" 156 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== 157 | dependencies: 158 | function-bind "^1.1.1" 159 | 160 | inflight@^1.0.4: 161 | version "1.0.6" 162 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 163 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= 164 | dependencies: 165 | once "^1.3.0" 166 | wrappy "1" 167 | 168 | inherits@2: 169 | version "2.0.4" 170 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 171 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 172 | 173 | is-core-module@^2.2.0: 174 | version "2.2.0" 175 | resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" 176 | integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ== 177 | dependencies: 178 | has "^1.0.3" 179 | 180 | is-module@^1.0.0: 181 | version "1.0.0" 182 | resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" 183 | integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= 184 | 185 | is-reference@^1.2.1: 186 | version "1.2.1" 187 | resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" 188 | integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== 189 | dependencies: 190 | "@types/estree" "*" 191 | 192 | magic-string@^0.25.7: 193 | version "0.25.7" 194 | resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" 195 | integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== 196 | dependencies: 197 | sourcemap-codec "^1.4.4" 198 | 199 | mathjax@^3.1.2: 200 | version "3.1.2" 201 | resolved "https://registry.yarnpkg.com/mathjax/-/mathjax-3.1.2.tgz#95c0d45ce2330ef7b6a815cebe7d61ecc26bbabd" 202 | integrity sha512-BojKspBv4nNWzO1wC6VEI+g9gHDOhkaGHGgLxXkasdU4pwjdO5AXD5M/wcLPkXYPjZ/N+6sU8rjQTlyvN2cWiQ== 203 | 204 | minimatch@^3.0.4: 205 | version "3.0.4" 206 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 207 | integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== 208 | dependencies: 209 | brace-expansion "^1.1.7" 210 | 211 | moment@2.29.1: 212 | version "2.29.1" 213 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" 214 | integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ== 215 | 216 | obsidian@^0.12.16: 217 | version "0.12.17" 218 | resolved "https://registry.yarnpkg.com/obsidian/-/obsidian-0.12.17.tgz#8efe75310d0e3988cdeccfbb176d3a8ff7b363c7" 219 | integrity sha512-YvCAlRym9D8zNPXt6Ez8QubSTVGoChx6lb58zqI13Dcrz3l1lgUO+pcOGDiD5Qa67nzDZLXo3aV2rqkCCpTvGQ== 220 | dependencies: 221 | "@types/codemirror" "0.0.108" 222 | moment "2.29.1" 223 | 224 | once@^1.3.0: 225 | version "1.4.0" 226 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 227 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 228 | dependencies: 229 | wrappy "1" 230 | 231 | path-is-absolute@^1.0.0: 232 | version "1.0.1" 233 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 234 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= 235 | 236 | path-parse@^1.0.6: 237 | version "1.0.6" 238 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" 239 | integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== 240 | 241 | picomatch@^2.2.2: 242 | version "2.2.3" 243 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.3.tgz#465547f359ccc206d3c48e46a1bcb89bf7ee619d" 244 | integrity sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg== 245 | 246 | resolve@^1.17.0: 247 | version "1.20.0" 248 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" 249 | integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== 250 | dependencies: 251 | is-core-module "^2.2.0" 252 | path-parse "^1.0.6" 253 | 254 | rollup@^2.32.1: 255 | version "2.45.2" 256 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.45.2.tgz#8fb85917c9f35605720e92328f3ccbfba6f78b48" 257 | integrity sha512-kRRU7wXzFHUzBIv0GfoFFIN3m9oteY4uAsKllIpQDId5cfnkWF2J130l+27dzDju0E6MScKiV0ZM5Bw8m4blYQ== 258 | optionalDependencies: 259 | fsevents "~2.3.1" 260 | 261 | sourcemap-codec@^1.4.4: 262 | version "1.4.8" 263 | resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" 264 | integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== 265 | 266 | tslib@^2.0.3: 267 | version "2.2.0" 268 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c" 269 | integrity sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w== 270 | 271 | typescript@^4.0.3: 272 | version "4.2.4" 273 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" 274 | integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg== 275 | 276 | wrappy@1: 277 | version "1.0.2" 278 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 279 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 280 | --------------------------------------------------------------------------------