Commit 8b56182
authored
chore: markdown rendering fixes (#1094)
* chore: markdown fixes
- handle `@param` on properties
- properly run markdown on `.js` files. Previously `.js` was treated as TS, which resulted in errors because the jsdoc was ignored. This was done this way because twoslash does not run on `js` by default, but there's a different way to make it still run on them while respecting jsdoc.
* set relevant compiler options
* see if that helps
* another one1 parent 83881c6 commit 8b56182
File tree
3 files changed
+36
-10
lines changed- apps/svelte.dev/content/docs
- kit/30-advanced
- svelte/02-runes
- packages/site-kit/src/lib/markdown
3 files changed
+36
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| 70 | + | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 48 | + | |
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
501 | 526 | | |
502 | 527 | | |
503 | 528 | | |
| |||
699 | 724 | | |
700 | 725 | | |
701 | 726 | | |
702 | | - | |
| 727 | + | |
703 | 728 | | |
704 | 729 | | |
705 | 730 | | |
706 | 731 | | |
707 | 732 | | |
708 | 733 | | |
| 734 | + | |
| 735 | + | |
709 | 736 | | |
710 | 737 | | |
711 | | - | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
712 | 741 | | |
713 | 742 | | |
714 | 743 | | |
| |||
0 commit comments