Skip to content

Latest commit

 

History

History
60 lines (33 loc) · 1.35 KB

README.md

File metadata and controls

60 lines (33 loc) · 1.35 KB

Table of Contents

  1. html-tools-mode
    1. Introduction
    2. What's the idea
    3. What is NOT the idea
    4. Know Issues
      1. Attempt to nest DWIM inline tags doesn't always respect correct nesting

html-tools-mode

html-tools-mode is an emacs minor mode which extends web-mode to allow quick formatting of existing text/html files into html5.

Those were originally a bunch of ad hoc Emacs Lisp functions written to speed up formatting of already existent entries for the Instituto de Arte Contemporáneo website.

Introduction

Ever had to format legacy pages to move the content to a new design? Had to work with given text of unknow origin?

What's the idea

The idea is quickly wrapping regions, words, or whatever in the elements they should have under your needs.

What is NOT the idea

This is not:

  • a template tool replacement
  • a DOM model manipulator

Know Issues

Attempt to nest DWIM inline tags doesn't always respect correct nesting

Workaround: use regions to enclose everything correctly if you already have tags in your text.