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: docs/tutorialkit.dev/src/content/docs/guides/creating-content.mdx
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,3 +144,25 @@ src/templates
144
144
│ # Overrides "index.js" from "shared-template"
145
145
└── index.js
146
146
```
147
+
148
+
## Importing files
149
+
150
+
You can import files from your code template, `_files` and `_solution` folder using the `file` or `solution` shortcode. This shortcode inserts the content of the specified file directly into your lesson content.
151
+
152
+
-`file` shortcode is used to reference files from the lesson `_files` or code template folder.
153
+
-`solution` shortcode is used to reference files from the lesson `_solution` folder.
154
+
155
+
For example, the following code will insert the content of the `box.css` file from the `_files` folder:
0 commit comments