Skip to main content

Modules

While you can surely use templates which contain simple content, the real power of using a templating system is the ability to use custom variables and methods within the template content.

Built-in Modules (variables and methods)

np.Templating includes a suite of built-in modules which are organized to provide groups of variables and methods.

The following is a quick overview of all the included modules, for more details visit the Templating Modules section.

Date Module

Date Module contains every internal variable / method related to dates.

Frontmatter Module

Frontmatter Module exposes all the frontmatter variables of a file as internal variables.

Note Module

Note Module exposes all the note variables of a file as internal variables.

Time Module

Time Module contains every internal variable / method related to time values.

Web Module

Web Module contains every internal variable / method related to the web (using web requests).