.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _`View helper`: View helper =========== Example: """""""" :: lib.css = COA lib.css { 10 = FILE 10.file = EXT:{$projectKey}/Resources/Public/Css/Newsletter.css } ::

Content goes here

In this example emogrifier is used applied as a view helper in fluid templates. CSS is defined in TypoScript setup and rendered as a string with ``cObject`` view helper. Only in rare cases it makes sense to use emogrifier as view helper without ``extractContent="1"``.