Skip to content

CreunaFI/html-markup-indenter

Repository files navigation

HTML Markup Indenter

Don't you just hate it when your beautiful HTML markup is mutilated due to 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