Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 844 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 844 Bytes

HTML Markup Indenter

Packagist

Don't you just hate it when your beautiful HTML markup is mangled by a templating language? (I'm looking at you, Timber)

Use this plugin to indent the HTML markup output by WordPress using the Dindent library. It only does its thing when you are not logged in.

Requirements

  • PHP 5.3 or greater
  • Mbstring extension

Installation

Composer (with Bedrock)

composer require joppuyo/html-markup-indenter

Classic

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress