# What is the 'code sample' button in the menu while writing/editing questions/answers ?

Please let me know the purpose of the 'code sample' button in the menu while writing/editing questions/answers .

• Not everybody remembers markdown syntax (e.g. me). Anyway, it's intended to be used for displaying source code/code snippets... Apr 17 '11 at 5:42
• On another note, reading the first two entries here ought to have been enough to answer your question. Apr 17 '11 at 5:46
• @JM : can i use it to upload tex/latex code ? Apr 17 '11 at 5:56
• Not the intended use for that; I would recommend you upload your $\TeX$ file to a proper filehost and link to it instead. Apr 17 '11 at 6:13