1
0
Fork 0
freesewing/markdown/dev/reference/plugins/banner/en.md
2022-01-16 17:31:54 +01:00

844 B

title
@freesewing/plugin-banner

The @freesewing/plugin-banner plugin provides the banner macro. This macro allows you to add repeating text along a path.

Example

Example of the banner macro provided by this plugin

Installation

npm install @freesewing/plugin-banner

Usage

Like all build-time plugins, you load them by passing them to the freesewing.Design super-constructor:

import freesewing from "@freesewing/core";
import banner from "@freesewing/plugin-banner";
import config from "../config";

const Pattern = new freesewing.Design(config, banner);

Now you can use the banner macros in your parts.