How to use
Create folders in the patterns folder, place html files in each folder. The html files can contain html, css and/or a description.
To display a description about the contents of the folder, include it in a info.txt file in the base of that folder.
To add a description use html comments. eg.
Use the start and ending INFO tags to declare a description
To add HTML just add it as usual, make sure it comes after the INFO comments but before the CSS comments.
To add CSS use html comments.
The other option is to include a CSS file in the same folder as the html file with the exact same name as the html file, except with the extension .css
INFO and CSS is not required as long as it follows the same structure. eg. If there is no INFO needed just include the HTML then the CSS.
The CSS in the documentation is not included in the page markup. To style the elements in Pattern Response change the line in index.php from:
To include the location of your css file and uncomment it.
This is by no means perfect, actually it's probably much less than perfect. I am happy for others to give idea and add to the project. Please Note: This is my first Github project and I'm really not sure how to do this.