README.md in gollum-site-0.1.9 vs README.md in gollum-site-0.1.10

- old
+ new

@@ -143,16 +143,26 @@ $ gollum-site generate --working ## Watch When running the gollum-site server you can enable directory watching to update -the static site when changes are made to any of the wiki or static files. This -currently does not work for layout updates (full site regeneration is required). +the static site when changes are made to any of the wiki or static +files. This feature only works with the "serve" command. $ gollum-site serve --watch This feature requires the -[directory_watcher](https://rubygems.org/gems/directory_watcher) gem +[directory_watcher](https://rubygems.org/gems/directory_watcher) gem. + +## Sanitization + +You can customize sanitization with three options: + +* --allow_elements: custom elements allowed, comma separated +* --allow_attributes: custom attributes allowed, comma separated +* --allow_protocols: custom protocols in *href* allowed, comma separated + + $ gollum-site generate --allow_elements embed,object --allow_attributes src --allow_protocols irc ## Example To see gollum-site in action, let's use it to generate a static site from a Gollum Wiki. For this example I will use the Radiant wiki: