Skip to content

Commit fc6ee30

Browse files
committed
fix more embedded markdown
1 parent acd1e39 commit fc6ee30

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

content/pinion/docs/generators.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The key component of a Pinion generator is the `context` object that gets passed
3030

3131
Let's look at the first quick start example and focus on the `Context`:
3232

33-
<!--@include: ./shared/quick-start-1-basics.md-->
33+
:embed-markdown{collection="pinionShared" path="pinion/shared/quick-start-1-basics"}
3434

3535
Even if your `Context` interface is empty, it still inherits the types from `PinionContext`. Let's see what's available in `PinionContext`.
3636

@@ -86,8 +86,6 @@ Let's review key lines to see how to further define `Context`:
8686
- **Line 9:** the `context` is received by the template function.
8787
- **Line 14:** the `year` property is used in the template.
8888

89-
<!--@include: ./shared/context-extending-1.md-->
90-
9189
:embed-markdown{collection="pinionShared" path="pinion/shared/context-extending-1"}
9290

9391
The above example is a bit contrived because we can use TypeScript functions directly in templates. It's not necessary to define variables outside of templates like it is with other generator tools.

0 commit comments

Comments
 (0)