Skip to content

CreunaFI/html-markup-indenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

daa5418 · Oct 14, 2018

History

11 Commits
Apr 18, 2018
Oct 14, 2018
Apr 18, 2018
Oct 14, 2018
Oct 14, 2018

Repository files navigation

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