Keep your inner geek happy using this button to show preformatted text.
var editor = AlloyEditor.editable('myContentEditable', {
toolbars: {
styles: {
selections: [
{
name: 'text',
buttons: ['code'],
test: AlloyEditor.SelectionTest.text
}
]
}
}
});