class

CrystalDoc::Html

Inherits Reference / Object

Class methods

post_process(path : String, &)

Allows applying a single post processing block to all html files in a directory. Finds all html files in the specified path, opens and parses them with lexbor, then yields the lexbor representation of the file and its path to the block; when the block finishes, the changes are written back to the html file.

Source