Skip to content

GRAV plugin for the PHP module tidy. Make your messy HTML code looks awesome again.

License

Notifications You must be signed in to change notification settings

sourcesoldier/grav-plugin-tidyhtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grav tidyhtml plugin

Clemens Queissner

Requirements

This plugins requires you to have the PHP module tidy installed. Check out the official PHP doc.

Installation

The tidyhtml plugin is easy to install with GPM.

$ bin/gpm install tidyhtml

Or clone from GitHub and put in the user/plugins/tidyhtml folder.

$ git clone [email protected]:sourcesoldier/grav-plugin-tidyhtml.git tidyhtml

Usage

The plugin is enabled by default, if you want to disable it make sure to place a tidyhtml.yaml file in the user/config/plugins/ directory.

Most of the settings already applied to the defaults are most common to the HTML5 standard. Checkout the plugin settings in the admin panel to modify the settings to your needs.

Disabled output processing on a per-site basis

If you need to disable tidy processing on a site basis you must add the site-node to the list of ignore_pages in the config. For more convenience you can use the settings in the admin panel of the plugin.

About

GRAV plugin for the PHP module tidy. Make your messy HTML code looks awesome again.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages