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
+45-2Lines changed: 45 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,9 +145,52 @@ src/templates
145
145
└── index.js
146
146
```
147
147
148
-
## Importing files
148
+
## Markdown and MDX Support
149
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.
150
+
TutorialKit comes with built-in support for both Markdown and MDX, powered by Astro. This means you can leverage all Markdown and MDX features when creating lesson content. To explore the full capabilities, check out Astro's [Markdown support](https://docs.astro.build/en/guides/markdown-content/) and [MDX support](https://docs.astro.build/en/guides/integrations-guide/mdx/) documentation for more details.
151
+
152
+
### Callouts
153
+
154
+
Callouts are visual elements designed to highlight specific information or provide additional context within a document or user interface. They are ideal for drawing attention to important tips, warnings, and other key messages.
155
+
156
+
```
157
+
:::tip
158
+
Remember to save your work frequently to avoid losing any changes.
159
+
:::
160
+
```
161
+
162
+
:::tip
163
+
Remember to save your work frequently to avoid losing any changes.
164
+
:::
165
+
166
+
167
+
### Code blocks
168
+
169
+
TutorialKit offers a comprehensive set of code block features powered by Expressive Code. It includes all core features, along with optional plugins like collapsible sections and line numbers. For a full overview, check out the [Expressive Code documentation](https://expressive-code.com/).
In addition to Expressive Code features, you can import files from your code template `_files` and `_solution` folders using the file or solution shortcodes. These shortcodes insert the content of the specified file directly into your lesson content.
151
194
152
195
-`file` shortcode is used to reference files from the lesson `_files` or code template folder.
153
196
-`solution` shortcode is used to reference files from the lesson `_solution` folder.
0 commit comments