{{define "text_editor"}}
{{template "meta_tags" "Text Upload"}} {{template "user_style" .}}You can type anything you want in here. When you're done press CTRL + S or click the Save button in the top right corner to upload your text file to pixeldrain.
To show syntax highlighting on pixeldrain's file viewer you should save your file with a file extension like .js, .go, .java, etc. If you save your file with the extension .md or .markdown the result will be rendered as HTML on the file viewer.
The text editor has been enhanced by Jacob Kelly's Behave.js. Many thanks to him for developing this plugin and putting it under the MIT license.
{{template "analytics"}} {{end}}