Two possibilities are through creating a modified keyboard layout (which can be done manually, but is made much simpler using a program like Ukulele) or through a shortcut program like TextExpander
I use TextExpander, myself, so that c== is a shortcut on my system for ⌘, o== for ⌥, and several others, in part because I do not want to lose the symbols already mapped to the option (⌥) key combinations on my keyboard.
On the other hand, remapping the ⌥ keys to symbols different than the ones they are original configured for can be helpful and convenient for some people also, which is where Ukulele shines.
Viewing Special Characters
The good news is that this part should almost always 'just work' on OS X and iOS devices. Encodings are usually handled intelligently, Unicode fonts are installed, and font substitution does its job.
If you do encounter problems, be sure to specify the encoding as Unicode (UTF-8)
when saving. If your text editor doesn't allow you to specify an encoding, it's a fairly safe bet that this is what it's using.
Since Markdown files are plaintext, you don't have to worry about fonts. If you are using rich formatting, though, Lucida Grande, Arial Unicode, and Apple Symbol are all good options. But, again, OS X and iOS generally switch to another font seamlessly when the main font doesn't support a character.
Entering Special Characters
Both OS X and iOS include built-in text replacement tools that will let you insert your symbols easily.
OS X
Open System Preferences-> Language and Text-> Text and click the [+] button. Choose a keyword to be expanded and paste in the special character. You'll have to create snippets with unique keywords for each character.
iOS
Copy a special character. Open Settings-> General-> Keyboard-> Shortcuts and tap the [+] button. Paste the character under Phrase and enter a unique keyword under Shortcut. Tap save. Again, you'll have to create snippets with unique keywords for each character.
If you like, you can use the excellent TextExpander to do the same thing, but it isn't necessary in this case.
Best Answer
You can add a line over p, c, s either with the US Extended keyboard layout (base letter then option/alt + a) or the Character Viewer (double click on unicode 0304 after the base letter). Best just copy them from here:
p̄ c̄ s̄
You may need to try different fonts to get them to display properly