Here's a bit more food for thought. I've found MultiMarkdown makes text files easier to read as well.
Here's an example, below are the first 5 paragraphs of the post above, in MultiMarkdown format. I added a title just as an example. When ran through the Perl script, it will be coded in HTML format, with the list showing as <ol><li>, bold as <strong></strong> and italics as <em></em>
# PersonalBrain Notes, and MultiMarkDown #
I've taken to using text files rather then anything else when writing. I've done this for several reasons, mainly to do with ease of working with them, the excellent text applications out there, and everything supports it, period.
An additional reason, I use WriteRoom for the iPhone. It stores the information as text, and syncs it with a website. This allows me to copy the text from my iPhone to my computer without any hassle.
The only problem with text files, is they don't support formatting. This is where Markdown and MultiMarkdown come into play.
Markdown is a text - to html formatting conversion tool written by John Gruber. It's available [here][grmmd]. What it allows you to do is "format" your text file by adding characters, or formatting it a certain way. You can then run it through [dingus][grmmdu] and it will convert it to an html formatted file. The basic syntax is covered [here][grmmds] to get you started.
Enter MultiMarkdown. MultiMarkdown was written by Fletcher T Penney as Markdown that supported much more than .html. [MultiMarkdown][mmd] supports LaTeX, TeX, PDF, XHTML, XLST, RTF as well as other formats. It incorporates the majority of Markdown, and then adds much more. This uses perl to translate text files to the appropriate format. Perl is included in OSX, but you have to download and install for Windows. The examples below use [Strawberry Perl][sp].
So what the heck does this mean to you? Well, what you can do is type up your information in a text file, include MultiMarkdown formatting, and then run it through the Perl script, and paste it into your notes in PersonalBrain. Everything will be formatted as you intend.
You can either do this manually, or if you use AHK, introduce a little automation.
1. Install Strawberry Perl. Both this and the AHK script assume you installed it to the standard location, the root of C:.
2. Install MMD. Both this and the AHK script assume you installed it to your Documents and Settings\[ *userid* ]\Application Data folder.
3. Create a shortcut on your desktop. In the properties enter the following:
1. In Target: C:\strawberry\perl\bin\perl.exe "C:\Documents and Settings\[ *user* ]\Application Data\MultiMarkdown\bin\mmd2XHTML.pl" %1
2. in Start in: C:\strawberry\perl\bin
4. Now, when you drag your text file to the shortcut, it will automatically create a .html version of the file, formatting included.
5. Open the .html file and view the source.
6. Copy the source after <body> and before </end body>.
7. In PersonalBrain, click on the Notes tab and choose **View > HTML View**.
8. Paste your code and go back to Normal view.
Java SE 6