fn: #--
[contents]

Contents

Syntax

The syntax for #-- comments is:

f++:  
#-- comment --#

n++:  
@#-- comment --#

Description

The #-- function is for parsed multi-line comments, it parses the text between #-- and --# but does not add the output to the file being built.

Note: Nift will skip to the first non-whitespace (ie. to the first character that is not a space, tab or newline) after a multi-line comment and inject it to the output file where the comment started. If you want to prevent Nift from doing this put a '!' after the comment close tag, eg.:

#--
	multi-line comment without skipping trailing whitespace
--#!

n++ example

Example of #-- being used with n++:

First paragraph

@#--
	Second paragraph
--#

Third paragraph

Sponsors