Its helped me to standardize my approach to marking up techie language. Keeping it simple the content is either programming stuff or everything else tech related. Sufficiently vauge you see: I write down examples to keep it straight in my head. Here you go:
Use Code Markup ~code~
- Class or Object Names: Java →
java.lang.Object
- Code Snippets: Elisp →
(message "Hello, world.")
- Compilers and Interpreters: The executable names not the product names. For example:
gcc
andpython
not GCC and Pythonscheme
andjava
of Scheme and Java
- Function Names: Elisp →
switch-to-buffer
- Key Bindings: Emacs →
C-x C-e
- Package Names: the name that the program or system uses for example →
org-mode
not Org modeorg2blog
not Org2Blog
- Shell Commands: Bash →
ls
- Variable Names: Elisp →
kill-ring
Use Tech Markup =verbatim=
- Compilers and Interpreters: The product names not not the executable names. For example:
GCC
andPython
Scheme
andJava
- Concepts
Immediately-invoked function expression
Object Oriented Programming
- File Names:
.emacs.el
,.emacs.d
- File Types:
JPG
,PNG
,TIFF
- Package Names: The human version not the code version →
- Org mode not
org-mode
- Org2Blog not
org2blog
- Org mode not
- Product Names:
Emacs
,IntelliJ
,Racket
Check the highlighting of org-mode/Org mode. These are subtle things!