Skip to content

Commit 505c98e

Browse files
Revert "Suggestions for syntax page"
This reverts commit 597e06e410a79c20881936ecf7e994b382464de5. Signed-off-by: Christopher Hakkaart <[email protected]>
1 parent 71236c9 commit 505c98e

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

docs/reference/syntax.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,24 +73,13 @@ nextflow.preview.topic = true
7373

7474
An include declaration consists of an *include source* and one or more *include clauses*:
7575

76-
The include source should be a string literal and should refer to either a local path (e.g. `./module.nf`) or a plugin (e.g. `plugin/nf-hello`):
77-
78-
```groovy
79-
include { foo } from './some/module'
80-
```
81-
82-
Each include clause should specify a name, and may also specify an *alias*:
83-
8476
```groovy
85-
include { bar as baz } from './some/module'
77+
include { foo ; bar as baz } from './some/module'
8678
```
8779

88-
Include clauses may include multiple names:
80+
The include source should be a string literal and should refer to either a local path (e.g. `./module.nf`) or a plugin (e.g. `plugin/nf-hello`).
8981

90-
```groovy
91-
// together
92-
include { foo ; bar as baz } from './some/module'
93-
```
82+
Each include clause should specify a name, and may also specify an *alias*. In the example above, `bar` is included under the alias `baz`.
9483

9584
Include clauses can be separated by newlines or semi-colons, or they can be specified as separate includes:
9685

0 commit comments

Comments
 (0)