Fix formatting issues in documentation
Fix code examples in documentation of (un)safe signals