Gather CSS Plugin for HTML2

Useage

This plugin looks at all the namespaces in the ProcessedPod object's plugin-data area and seeks css, add-css or css-link keys in the other plugin's config.

The plugin's collator callable returns a list of files to be transferred to the css_assets directory.

Local css files

A css or add-css is interpreted as the name of a local file in the other plugin's directory.

A css key means the contents of the file will be concatenated and placed in a single file called by the key mode-name in the ProcessedPod's plugin data area.

A add-css key means the file will be copied directly to the assets subdirectory under the output directory.

Remote css

A css-link key's value is the url for a stylesheet.

A template is generated so the the css is served with the output contents.

When a css-link key is included in the config of another plugin, eg ļ½¢some reference stringļ½£, it is included as <link rel=\"stylesheet\" $_ /> , with $_ being the value some reference string.

Provides

Plugin provides or generates

  • a callable that interogates the ProcessedPod object it is passed and find add-css/css/css-link keys.

  • a template for css.

Raku::Pod::Render v4.10.6

A generic Pod6 Renderer with custom Pod::Blocks, FormatCodes for one or more files using templates, provides HTML and MarkDown.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.