this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add title to note pages

+21 -12
+4 -2
package.json
··· 28 28 "@atproto/api": "^0.19.0", 29 29 "chart.xkcd": "^1.1.15", 30 30 "marked": "^17.0.3", 31 + "md4x": "^0.0.25", 31 32 "nanoid": "^5.1.6", 32 33 "pinia": "^3.0.4" 33 - } 34 - } 34 + }, 35 + "packageManager": "pnpm@10.32.1" 36 + }
+10 -7
pnpm-lock.yaml
··· 17 17 marked: 18 18 specifier: ^17.0.3 19 19 version: 17.0.3 20 + md4x: 21 + specifier: ^0.0.25 22 + version: 0.0.25 20 23 nanoid: 21 24 specifier: ^5.1.6 22 25 version: 5.1.6 ··· 1453 1456 engines: {node: '>=6.0.0'} 1454 1457 hasBin: true 1455 1458 1456 - baseline-browser-mapping@2.8.31: 1457 - resolution: {integrity: sha512-a28v2eWrrRWPpJSzxc+mKwm0ZtVx/G8SepdQZDArnXYU/XS+IF6mp8aB/4E+hH1tyGCoDo3KlUCdlSxGDsRkAw==} 1458 - hasBin: true 1459 - 1460 1459 binary-extensions@2.3.0: 1461 1460 resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} 1462 1461 engines: {node: '>=8'} ··· 2211 2210 resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} 2212 2211 engines: {node: '>= 0.4'} 2213 2212 2213 + md4x@0.0.25: 2214 + resolution: {integrity: sha512-GrexawUhrKcwl7o2hkgs7Ut0PqI/meOCevmaRB1ueKo2y1Fh2nIl8e6KKawYGm9eXJP3u6BzVs4rzZOc2+w3hA==} 2215 + hasBin: true 2216 + 2214 2217 mdast-util-from-markdown@2.0.2: 2215 2218 resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==} 2216 2219 ··· 4660 4663 4661 4664 baseline-browser-mapping@2.10.0: {} 4662 4665 4663 - baseline-browser-mapping@2.8.31: {} 4664 - 4665 4666 binary-extensions@2.3.0: {} 4666 4667 4667 4668 birpc@2.8.0: {} ··· 4681 4682 4682 4683 browserslist@4.28.0: 4683 4684 dependencies: 4684 - baseline-browser-mapping: 2.8.31 4685 + baseline-browser-mapping: 2.10.0 4685 4686 caniuse-lite: 1.0.30001757 4686 4687 electron-to-chromium: 1.5.260 4687 4688 node-releases: 2.0.27 ··· 5604 5605 marked@17.0.3: {} 5605 5606 5606 5607 math-intrinsics@1.1.0: {} 5608 + 5609 + md4x@0.0.25: {} 5607 5610 5608 5611 mdast-util-from-markdown@2.0.2: 5609 5612 dependencies:
+5 -2
src/pages/pub/[rkey]/[slug].vue
··· 19 19 <script setup lang="ts"> 20 20 import type { Note } from "~/api/note.type" 21 21 import { marked } from "marked" 22 - import { computed } from "vue" 23 22 24 23 const props = defineProps<{ note: Note }>() 25 - const textContent = computed(() => marked.parse(props.note.textContent)) 24 + const textContent = marked.parse(props.note.textContent) 25 + 26 + useHead({ 27 + title: props.note.title, 28 + }) 26 29 </script> 27 30 28 31 <template>
+2 -1
tsconfig.json
··· 11 11 "resolveJsonModule": true, 12 12 "esModuleInterop": true, 13 13 "paths": { 14 - "@/*": ["./src/*"] 14 + "@/*": ["./src/*"], 15 + "~/*": ["./src/*"] 15 16 }, 16 17 "lib": ["esnext", "dom", "dom.iterable", "scripthost"], 17 18 "skipLibCheck": true