class CrystalDoc::Html

Defined in:

crystaldoc/html.cr

Class Method Summary

Class Method Detail

def self.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.


[View source]