You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/transform/fixtures/faq.ts
+36-36Lines changed: 36 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -28,20 +28,20 @@ export const faq_in = [
28
28
29
29
exportconstfaq_out_full=[
30
30
{
31
-
title: "How do I document my components?",
32
-
slug: "how-do-i-document-my-components",
33
-
file: "450-how-do-i-document-my-components.md",
31
+
title: "I'm new to Svelte. Where should I start?",
32
+
slug: "im-new-to-svelte",
33
+
file: "100-im-new-to-svelte.md",
34
34
content:
35
-
"<p>In editors which use the Svelte Language Server you can document Components, functions and exports using specially formatted comments.</p>\n<div class=\"code-block\"><pre class='language-undefined'><code><script>\n\t/** What should we call the user? */\n\texport let name = 'world';\n</script>\n\n<!--\n@component\nHere's some documentation for this component.\nIt will show up on hover.\n\n- You can use markdown here.\n- You can also use code blocks here.\n- Usage:\n ```tsx\n <main name=\"Arethra\">\n ```\n-->\n<main>\n\t<h1>\n\t\tHello, {name}\n\t</h1>\n</main></code></pre></div>\n<p>Note: The <code>@component</code> is necessary in the HTML comment which describes your component.</p>",
36
-
order: 450,
35
+
'<p>We think the best way to get started is playing through the interactive <a href="tutorial" rel="noopener noreferrer">Tutorial</a>. Each step there is mainly focused on one specific aspect and is easy to follow. You\'ll be editing and running real Svelte components right in your browser.</p>\n<p>Five to ten minutes should be enough to get you up and running. An hour and a half should get you through the entire tutorial.</p>',
36
+
order: 100,
37
37
},
38
38
{
39
-
title: "How can I get VS Code to syntax-highlight my .svelte files?",
40
-
slug: "how-can-i-get-syntax-highlighting",
41
-
file: "400-how-can-i-get-syntax-highlighting.md",
39
+
title: "Are there any video courses?",
40
+
slug: "are-there-any-video-courses",
41
+
file: "200-are-there-any-video-courses.md",
42
42
content:
43
-
'<p>There is an <a href="https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode" target="_blank" rel="noopener noreferrer">official VS Code extension for Svelte</a>.</p>',
44
-
order: 400,
43
+
'<p>Rich Harris, the creator of Svelte, taught a course:</p>\n<ul>\n<li><a href="https://frontendmasters.com/courses/svelte/" target="_blank" rel="noopener noreferrer">Frontend Masters</a></li>\n</ul>\n<p>There are also a number of third-party courses:</p>\n<ul>\n<li><a href="https://egghead.io/browse/frameworks/svelte" target="_blank" rel="noopener noreferrer">Egghead</a></li>\n<li><a href="https://www.udemy.com/courses/search/?q=sveltejs+svelte" target="_blank" rel="noopener noreferrer">Udemy</a></li>\n</ul>\n<p>Note that Udemy very frequently has discounts over 90%.</p>',
44
+
order: 200,
45
45
},
46
46
{
47
47
title: "Are there any books?",
@@ -52,35 +52,35 @@ export const faq_out_full = [
52
52
order: 250,
53
53
},
54
54
{
55
-
title: "Are there any video courses?",
56
-
slug: "are-there-any-video-courses",
57
-
file: "200-are-there-any-video-courses.md",
55
+
title: "How can I get VS Code to syntax-highlight my .svelte files?",
56
+
slug: "how-can-i-get-syntax-highlighting",
57
+
file: "400-how-can-i-get-syntax-highlighting.md",
58
58
content:
59
-
'<p>Rich Harris, the creator of Svelte, taught a course:</p>\n<ul>\n<li><a href="https://frontendmasters.com/courses/svelte/" target="_blank" rel="noopener noreferrer">Frontend Masters</a></li>\n</ul>\n<p>There are also a number of third-party courses:</p>\n<ul>\n<li><a href="https://egghead.io/browse/frameworks/svelte" target="_blank" rel="noopener noreferrer">Egghead</a></li>\n<li><a href="https://www.udemy.com/courses/search/?q=sveltejs+svelte" target="_blank" rel="noopener noreferrer">Udemy</a></li>\n</ul>\n<p>Note that Udemy very frequently has discounts over 90%.</p>',
60
-
order: 200,
59
+
'<p>There is an <a href="https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode" target="_blank" rel="noopener noreferrer">official VS Code extension for Svelte</a>.</p>',
60
+
order: 400,
61
61
},
62
62
{
63
-
title: "I'm new to Svelte. Where should I start?",
64
-
slug: "im-new-to-svelte",
65
-
file: "100-im-new-to-svelte.md",
63
+
title: "How do I document my components?",
64
+
slug: "how-do-i-document-my-components",
65
+
file: "450-how-do-i-document-my-components.md",
66
66
content:
67
-
'<p>We think the best way to get started is playing through the interactive <a href="tutorial" rel="noopener noreferrer">Tutorial</a>. Each step there is mainly focused on one specific aspect and is easy to follow. You\'ll be editing and running real Svelte components right in your browser.</p>\n<p>Five to ten minutes should be enough to get you up and running. An hour and a half should get you through the entire tutorial.</p>',
68
-
order: 100,
67
+
"<p>In editors which use the Svelte Language Server you can document Components, functions and exports using specially formatted comments.</p>\n<div class=\"code-block\"><pre class='language-undefined'><code><script>\n\t/** What should we call the user? */\n\texport let name = 'world';\n</script>\n\n<!--\n@component\nHere's some documentation for this component.\nIt will show up on hover.\n\n- You can use markdown here.\n- You can also use code blocks here.\n- Usage:\n ```tsx\n <main name=\"Arethra\">\n ```\n-->\n<main>\n\t<h1>\n\t\tHello, {name}\n\t</h1>\n</main></code></pre></div>\n<p>Note: The <code>@component</code> is necessary in the HTML comment which describes your component.</p>",
68
+
order: 450,
69
69
},
70
70
];
71
71
72
72
exportconstfaq_out_list=[
73
73
{
74
-
title: "How do I document my components?",
75
-
slug: "how-do-i-document-my-components",
76
-
file: "450-how-do-i-document-my-components.md",
77
-
order: 450,
74
+
title: "I'm new to Svelte. Where should I start?",
75
+
slug: "im-new-to-svelte",
76
+
file: "100-im-new-to-svelte.md",
77
+
order: 100,
78
78
},
79
79
{
80
-
title: "How can I get VS Code to syntax-highlight my .svelte files?",
81
-
slug: "how-can-i-get-syntax-highlighting",
82
-
file: "400-how-can-i-get-syntax-highlighting.md",
83
-
order: 400,
80
+
title: "Are there any video courses?",
81
+
slug: "are-there-any-video-courses",
82
+
file: "200-are-there-any-video-courses.md",
83
+
order: 200,
84
84
},
85
85
{
86
86
title: "Are there any books?",
@@ -89,15 +89,15 @@ export const faq_out_list = [
89
89
order: 250,
90
90
},
91
91
{
92
-
title: "Are there any video courses?",
93
-
slug: "are-there-any-video-courses",
94
-
file: "200-are-there-any-video-courses.md",
95
-
order: 200,
92
+
title: "How can I get VS Code to syntax-highlight my .svelte files?",
93
+
slug: "how-can-i-get-syntax-highlighting",
94
+
file: "400-how-can-i-get-syntax-highlighting.md",
95
+
order: 400,
96
96
},
97
97
{
98
-
title: "I'm new to Svelte. Where should I start?",
0 commit comments