Made extension optional for `github` macro.