diff options
| author | Sebastian Zivota <loewenheim@users.noreply.github.com> | 2023-03-24 09:12:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-24 09:12:49 +0100 |
| commit | 23de492eea6c5595ff92505dcfc31702c5469ecb (patch) | |
| tree | 97e40e297e43c57e7f72aff48402dbb3550882de /docs | |
| parent | d3377649a23b388155e2e97fdbf3451aaf8cd563 (diff) | |
Fix import syntax in tutorial (#205)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/tutorial/4-template.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/tutorial/4-template.md b/docs/src/tutorial/4-template.md index 0502b3f6..f3923ef2 100644 --- a/docs/src/tutorial/4-template.md +++ b/docs/src/tutorial/4-template.md @@ -259,9 +259,9 @@ into the document. This way, the main file you write in is kept clutter free and your template is easily reused. Create a new text file in the file panel by clicking the plus button and name it `conf.typ`. Move the `conf` function definition inside of that new file. Now you can access it from your main file by -adding an import before the show rule. Name the function that you want to import -from another file between the `{import}` and `{from}` keywords and specify the -path of the file after the `{from}` keyword. +adding an import before the show rule. Specify the path of the file between the +`{import}` keyword and a colon, then name the function that you +want to import. ```example:single >>> #let conf( |
