Skip to content

Craft CMS Twig filter for newline to list item

License

Notifications You must be signed in to change notification settings

antcooper/nl2li

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

nl2li Twig filter

Simple Twig filter to turn a multiline text field into list items.

Installation

  1. Upload the nl2li/ folder to your craft/plugins/ folder.
  2. Go to Settings > Plugins from your Craft control panel and enable the nl2li plugin.

Usage

<ul>
    {{ entry.specification|nl2li }}
</ul>

Changelog

1.0

  • Initial release

About

Craft CMS Twig filter for newline to list item

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages