docs(alert): use monospace format for code references

Closes #2850