Some changes
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 30s

This commit is contained in:
ryan 2025-09-30 13:59:16 -07:00
parent c73faa47e1
commit 15f7d2e679
11 changed files with 348 additions and 65 deletions

View File

@ -0,0 +1 @@
/nix/store/ds5hg5lwbpkp0pmwvq1r1khdj9dhgr68-source

View File

@ -1 +0,0 @@
/nix/store/k57xmha88g5j7j4h87039nyk0nq2lsvj-source

View File

@ -0,0 +1 @@
/nix/store/piq8ffvrjw88nxj69ib64pfqg7vj19mp-source

View File

@ -67,6 +67,10 @@ export default defineConfig({
label: "How I Built This", label: "How I Built This",
autogenerate: { directory: "how-i-built-this" }, autogenerate: { directory: "how-i-built-this" },
}, },
{
label: "Add Vocabulary",
link: "/edit/add-vocab",
},
{ {
label: "Edit YAML", label: "Edit YAML",
link: "/edit", link: "/edit",

269
hindki/package-lock.json generated
View File

@ -8,15 +8,16 @@
"name": "hindki", "name": "hindki",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@astrojs/node": "^9.4.4",
"@astrojs/react": "^4.3.1", "@astrojs/react": "^4.3.1",
"@astrojs/starlight": "^0.36.0", "@astrojs/starlight": "^0.36.0",
"@types/markdown-it": "^14.1.2", "@types/markdown-it": "^14.1.2",
"astro": "^5.6.1", "astro": "^5.6.1",
"astro-code-editor": "^0.1.1",
"markdown-it": "^14.1.0", "markdown-it": "^14.1.0",
"markdown-it-mark": "^4.0.0", "markdown-it-mark": "^4.0.0",
"monaco-yaml": "^5.4.0", "monaco-yaml": "^5.4.0",
"sharp": "^0.34.2", "sharp": "^0.34.2",
"vite-plugin-monaco-editor": "^1.1.0",
"yaml": "^2.8.1" "yaml": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
@ -92,6 +93,26 @@
"astro": "^5.0.0" "astro": "^5.0.0"
} }
}, },
"node_modules/@astrojs/node": {
"version": "9.4.4",
"resolved": "https://registry.npmjs.org/@astrojs/node/-/node-9.4.4.tgz",
"integrity": "sha512-zQelZmeejnpw3Y5cj2gCyAZ6HT7tjgsWLZH8k40s3bTaT6lqJXlPtKJeIsuEcod21vZLODqBEQeu0CWrWm01EQ==",
"license": "MIT",
"dependencies": {
"@astrojs/internal-helpers": "0.7.3",
"send": "^1.2.0",
"server-destroy": "^1.0.1"
},
"peerDependencies": {
"astro": "^5.7.0"
}
},
"node_modules/@astrojs/node/node_modules/@astrojs/internal-helpers": {
"version": "0.7.3",
"resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.7.3.tgz",
"integrity": "sha512-6Pl0bQEIChuW5wqN7jdKrzWfCscW2rG/Cz+fzt4PhSQX2ivBpnhXgFUCs0M3DCYvjYHnPVG2W36X5rmFjZ62sw==",
"license": "MIT"
},
"node_modules/@astrojs/prism": { "node_modules/@astrojs/prism": {
"version": "3.3.0", "version": "3.3.0",
"resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-3.3.0.tgz", "resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-3.3.0.tgz",
@ -2065,6 +2086,12 @@
"integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==", "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/json-schema": {
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
"license": "MIT"
},
"node_modules/@types/linkify-it": { "node_modules/@types/linkify-it": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz", "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz",
@ -2439,6 +2466,64 @@
"sharp": "^0.34.0" "sharp": "^0.34.0"
} }
}, },
"node_modules/astro-code-editor": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/astro-code-editor/-/astro-code-editor-0.1.1.tgz",
"integrity": "sha512-2vMRAGeO8i6l0E1cAiYZgfuYsv3c5ILOiTws/jMCAHAyzlMi1qXqypgA3krSI1gYNbe0AQVkWp4YMCdAkTPfLA==",
"license": "ISC",
"dependencies": {
"monaco-editor": "^0.34.1",
"monaco-yaml": "^4.0.2"
}
},
"node_modules/astro-code-editor/node_modules/monaco-editor": {
"version": "0.34.1",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.34.1.tgz",
"integrity": "sha512-FKc80TyiMaruhJKKPz5SpJPIjL+dflGvz4CpuThaPMc94AyN7SeC9HQ8hrvaxX7EyHdJcUY5i4D0gNyJj1vSZQ==",
"license": "MIT"
},
"node_modules/astro-code-editor/node_modules/monaco-yaml": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/monaco-yaml/-/monaco-yaml-4.0.4.tgz",
"integrity": "sha512-qbM36fY1twpDUs4lhhxoXDQGUPVyYAFCPJi3E0JKgLioD8wzsD/pawgauFFXSzpMa09z8wbt/DTLXjXEehnVFA==",
"license": "MIT",
"workspaces": [
"examples/*"
],
"dependencies": {
"@types/json-schema": "^7.0.0",
"jsonc-parser": "^3.0.0",
"monaco-marker-data-provider": "^1.0.0",
"monaco-worker-manager": "^2.0.0",
"path-browserify": "^1.0.0",
"prettier": "^2.0.0",
"vscode-languageserver-textdocument": "^1.0.0",
"vscode-languageserver-types": "^3.0.0",
"vscode-uri": "^3.0.0",
"yaml": "^2.0.0"
},
"funding": {
"url": "https://github.com/sponsors/remcohaszing"
},
"peerDependencies": {
"monaco-editor": ">=0.30"
}
},
"node_modules/astro-code-editor/node_modules/prettier": {
"version": "2.8.8",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
"integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
"license": "MIT",
"bin": {
"prettier": "bin-prettier.js"
},
"engines": {
"node": ">=10.13.0"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/astro-expressive-code": { "node_modules/astro-expressive-code": {
"version": "0.41.3", "version": "0.41.3",
"resolved": "https://registry.npmjs.org/astro-expressive-code/-/astro-expressive-code-0.41.3.tgz", "resolved": "https://registry.npmjs.org/astro-expressive-code/-/astro-expressive-code-0.41.3.tgz",
@ -2923,6 +3008,15 @@
"integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/depd": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
"integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
"license": "MIT",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/dequal": { "node_modules/dequal": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
@ -3021,6 +3115,12 @@
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
"integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
"license": "MIT"
},
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.223", "version": "1.5.223",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.223.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.223.tgz",
@ -3033,6 +3133,15 @@
"integrity": "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==", "integrity": "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/encodeurl": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
"integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
"license": "MIT",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/entities": { "node_modules/entities": {
"version": "6.0.1", "version": "6.0.1",
"resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
@ -3133,6 +3242,12 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
"integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
"license": "MIT"
},
"node_modules/escape-string-regexp": { "node_modules/escape-string-regexp": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
@ -3236,6 +3351,15 @@
"@types/estree": "^1.0.0" "@types/estree": "^1.0.0"
} }
}, },
"node_modules/etag": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
"integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/eventemitter3": { "node_modules/eventemitter3": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
@ -3319,6 +3443,15 @@
"unicode-trie": "^2.0.0" "unicode-trie": "^2.0.0"
} }
}, },
"node_modules/fresh": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
"integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
"license": "MIT",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/fsevents": { "node_modules/fsevents": {
"version": "2.3.3", "version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@ -3784,6 +3917,31 @@
"integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",
"license": "BSD-2-Clause" "license": "BSD-2-Clause"
}, },
"node_modules/http-errors": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
"license": "MIT",
"dependencies": {
"depd": "2.0.0",
"inherits": "2.0.4",
"setprototypeof": "1.2.0",
"statuses": "2.0.1",
"toidentifier": "1.0.1"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/http-errors/node_modules/statuses": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
"license": "MIT",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/i18next": { "node_modules/i18next": {
"version": "23.16.8", "version": "23.16.8",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.8.tgz", "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.8.tgz",
@ -3817,6 +3975,12 @@
"url": "https://github.com/sponsors/wooorm" "url": "https://github.com/sponsors/wooorm"
} }
}, },
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"license": "ISC"
},
"node_modules/inline-style-parser": { "node_modules/inline-style-parser": {
"version": "0.2.4", "version": "0.2.4",
"resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz", "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz",
@ -5184,6 +5348,27 @@
], ],
"license": "MIT" "license": "MIT"
}, },
"node_modules/mime-db": {
"version": "1.54.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
"integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime-types": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
"integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
"license": "MIT",
"dependencies": {
"mime-db": "^1.54.0"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/monaco-editor": { "node_modules/monaco-editor": {
"version": "0.53.0", "version": "0.53.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.53.0.tgz", "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.53.0.tgz",
@ -5397,6 +5582,18 @@
"integrity": "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==", "integrity": "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/on-finished": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
"integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
"license": "MIT",
"dependencies": {
"ee-first": "1.1.1"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/oniguruma-parser": { "node_modules/oniguruma-parser": {
"version": "0.12.1", "version": "0.12.1",
"resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz", "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz",
@ -5717,6 +5914,15 @@
"integrity": "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==", "integrity": "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/range-parser": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/react": { "node_modules/react": {
"version": "19.1.1", "version": "19.1.1",
"resolved": "https://registry.npmjs.org/react/-/react-19.1.1.tgz", "resolved": "https://registry.npmjs.org/react/-/react-19.1.1.tgz",
@ -6213,6 +6419,40 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/send": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
"integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
"license": "MIT",
"dependencies": {
"debug": "^4.3.5",
"encodeurl": "^2.0.0",
"escape-html": "^1.0.3",
"etag": "^1.8.1",
"fresh": "^2.0.0",
"http-errors": "^2.0.0",
"mime-types": "^3.0.1",
"ms": "^2.1.3",
"on-finished": "^2.4.1",
"range-parser": "^1.2.1",
"statuses": "^2.0.1"
},
"engines": {
"node": ">= 18"
}
},
"node_modules/server-destroy": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/server-destroy/-/server-destroy-1.0.1.tgz",
"integrity": "sha512-rb+9B5YBIEzYcD6x2VKidaa+cqYBJQKnU4oe4E3ANwRRN56yk/ua1YCJT1n21NTS8w6CcOclAKNP3PhdCXKYtQ==",
"license": "ISC"
},
"node_modules/setprototypeof": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
"license": "ISC"
},
"node_modules/sharp": { "node_modules/sharp": {
"version": "0.34.4", "version": "0.34.4",
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.4.tgz", "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.4.tgz",
@ -6342,6 +6582,15 @@
"url": "https://github.com/sponsors/wooorm" "url": "https://github.com/sponsors/wooorm"
} }
}, },
"node_modules/statuses": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
"license": "MIT",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/stream-replace-string": { "node_modules/stream-replace-string": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/stream-replace-string/-/stream-replace-string-2.0.0.tgz", "resolved": "https://registry.npmjs.org/stream-replace-string/-/stream-replace-string-2.0.0.tgz",
@ -6450,6 +6699,15 @@
"url": "https://github.com/sponsors/SuperchupuDev" "url": "https://github.com/sponsors/SuperchupuDev"
} }
}, },
"node_modules/toidentifier": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
"integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
"license": "MIT",
"engines": {
"node": ">=0.6"
}
},
"node_modules/tr46": { "node_modules/tr46": {
"version": "0.0.3", "version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
@ -6992,15 +7250,6 @@
} }
} }
}, },
"node_modules/vite-plugin-monaco-editor": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/vite-plugin-monaco-editor/-/vite-plugin-monaco-editor-1.1.0.tgz",
"integrity": "sha512-IvtUqZotrRoVqwT0PBBDIZPNraya3BxN/bfcNfnxZ5rkJiGcNtO5eAOWWSgT7zullIAEqQwxMU83yL9J5k7gww==",
"license": "MIT",
"peerDependencies": {
"monaco-editor": ">=0.33.0"
}
},
"node_modules/vitefu": { "node_modules/vitefu": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.1.tgz", "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.1.tgz",

View File

@ -35,8 +35,8 @@ function highlight(text: string, term: string) {
} }
--- ---
<li id={word.hindi} class="word-entry"> <li id={word.hindi} class="word-entry">
<AnchorHeading level="4" id={word.hindi} class="word-heading"> <AnchorHeading level="4" id={word.hindi} class="word-heading" style="font-weight: normal;">
{word.hindi} ({word.english}) {word.hindi} <Icon name="right-arrow" class="icon-inline" /><span>{word.english}</span>
{word.gender && <Badge variant={gender_lookup[word.gender][0]} text={gender_lookup[word.gender][1]} class="gender-badge"/>} {word.gender && <Badge variant={gender_lookup[word.gender][0]} text={gender_lookup[word.gender][1]} class="gender-badge"/>}
</AnchorHeading> </AnchorHeading>
{word.note && {word.note &&

View File

@ -1,11 +0,0 @@
---
title: I Don't Care
---
That's fine. Did I drag you here and force you to read this?
### You seem _really_ unemployed.
Don't tell my mom.
**See also**: [American-Born Confused Desi](/culture/abcd)

View File

@ -0,0 +1,28 @@
---
import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro";
import fs from "fs";
const raw_yaml = fs.readFileSync("src/vocab_list.yaml", "utf-8");
---
<StarlightPage
frontmatter={{
title: "Add Vocabulary",
tableOfContents: false,
prev: false,
}}
>
{raw_yaml}
</StarlightPage>
<style>
:global(div.sl-container) {
margin-inline: 0 !important;
}
:global([yaml-editor]) {
width: calc(
100vw - var(--sl-sidebar-width) - 2 * var(--sl-content-pad-x)
);
}
</style>

View File

@ -147,6 +147,7 @@
/* Magenta for feminine */ /* Magenta for feminine */
--sl-badge-tip-bg: #cc3366; --sl-badge-tip-bg: #cc3366;
--sl-badge-tip-border: #bb3355; --sl-badge-tip-border: #bb3355;
} }
/* Dark theme overrides */ /* Dark theme overrides */
@ -277,6 +278,10 @@ mark {
margin-top: 0 !important; margin-top: 0 !important;
} }
.sl-container {
max-width: 100%;
}
/* ================================================================= /* =================================================================
LANGUAGE-SPECIFIC STYLES LANGUAGE-SPECIFIC STYLES
================================================================= */ ================================================================= */

View File

@ -1,41 +0,0 @@
- slug: general
about: Common everyday vocabulary words.
words:
- type: noun
english: thing
hindi: बात
gender: f
note: More abstract than "[चीज़](#चीज़)", often used for matters or topics -- as in, things that are discussed.
see_also:
- "[चीज़](#चीज़)"
examples:
- english: "No problem. *(Literally: [there is] nothing.)*"
hindi: कोई बात नहीं.
- hindi: मुझे यह बात [समझ](#understand) नहीं आई.
english: "I did not understand this thing (matter)."
note: >
आई, feminine, matches बात because the postposition in मुझे blocks the gender matching on मैं (Recall [मुझे = मैं + की](/grammar/pronouns)).
- hindi: बात करना
english: "to talk (seems to be more like: *to chat*)."
- type: noun
english: help
hindi: मदद
gender: f
note: Used with का/के/की to indicate who is receiving help, and with either करना (to actively help someone), or होना (to passively be helped). See the links below for the generalized rules of these.
see_also:
- "[Reflexive verbs](/grammar/reflexive-verbs)"
- "[Active and passive, transitive and intransitive](/grammar/active-passive-transitive-intransitive)"
examples:
- hindi: "मेरी मदद किजिए."
english: "Please help me."
- hindi: "क्या आपकी मदद हुई है?"
english: "Have you been helped?"
- slug: repetition
about: Hindi often uses repetition of words for emphasis or to indicate a variety of related meanings.
words:
- type: noun
hindi: क्या-क्या
english: what all, which all
examples:
- hindi: पिछले हफ्ते तुमने क्या-क्या किया?
english: "What all did you do last week?"

1
hindki/src/vocab_list.yaml Symbolic link
View File

@ -0,0 +1 @@
/home/ryan/Documents/Code/hindi-server/hindi_server/vocab_list.yaml

View File

@ -0,0 +1,47 @@
- slug: general
about: Common everyday vocabulary words.
words:
- type: noun
english: thing
hindi: बात
gender: f
note: More abstract than "[चीज़](#चीज़)", often used for matters or topics -- as in, things that are discussed.
see_also:
- "[चीज़](#चीज़)"
examples:
- english: "No problem. *(Literally: [there is] nothing.)*"
hindi: कोई बात नहीं.
- hindi: मुझे यह बात [समझ](#understand) नहीं आई.
english: "I did not understand this thing (matter)."
note: >
आई, feminine, matches बात because the postposition in मुझे blocks the gender matching on मैं (Recall [मुझे = मैं + की](/grammar/pronouns)).
- hindi: बात करना
english: "to talk (seems to be more like: *to chat*)."
- type: noun
english: help
hindi: मदद
gender: f
note: Used with का/के/की to indicate who is receiving help, and with either करना (to actively help someone), or होना (to passively be helped). See the links below for the generalized rules of these.
see_also:
- "[Reflexive verbs](/grammar/reflexive-verbs)"
- "[Active and passive, transitive and intransitive](/grammar/active-passive-transitive-intransitive)"
examples:
- hindi: "मेरी मदद किजिए."
english: "Please help me."
- hindi: "क्या आपकी मदद हुई है?"
english: "Have you been helped?"
- slug: repetition
about: Hindi often uses repetition of words for emphasis or to indicate a variety of related meanings.
words:
- type: noun
hindi: क्या-क्या
english: what all, which all
examples:
- hindi: पिछले हफ्ते तुमने क्या-क्या किया?
english: "What all did you do last week?"
- slug: nationalities
about: Words for people from different countries.
words:
- type: adjective
english: Afghan
hindi: अफ़्गानी