Hacker News new | ask | show | jobs
by xemoka 2898 days ago
Markdown files in a category of directories. Plain. Easy. Simple. I personally use sublimetext with Markdown Editing, MarkdownExtended (the syntax highlighting is better than markdown editing), Markdown Preview, MarkdownTOC, SearchInProject (uses ripgrep to search contents) and ImagePaste[0]. I sync my knowledge-base with box, but anything would work, including git if you want to commit/pull constantly. I use Mark Text sometimes for output/live editing. I find that the simple syntax highlighting is quite beneficial to organisation and far simpler to use and navigate than ORG mode (plus I wouldn't/didn't really use the org mode advanced features). I also use some firefox plugins to make copying the current title/url as a markdown link easy ('Copy as Markdown...') and a 'paste to markdown' (https://euangoddard.github.io/clipboard2markdown/) web tool—but I'd like to turn the latter into a FF plugin. I write all my documents with these tools initially as well, either transforming to word with pandoc, into html/pdf with MarkdownPreview+PrintPDF (I prefer the formatting to pandoc) or with 'BackSlide' to convert markdown to lecture slides.

The trick is organisation. This is the hard part, but it's also the hard part if you keep paper notes. I have some catch alls, '_inbox.md', '_work.md', '_til.md' (where I keep track of things I've learned today, I try my best to go back and re-read the previous weeks every once in a while) to keep track of random/non-catagorisable notes; but other things exist in 'administation/' (ie. 'administration/linux', 'administration/windows'), 'intersting-articles/', 'programming/*', 'work/meetings/<project>_<date>_<topic>.md'.

If you use sublimetext and the above plugins, cmd/ctrl-r (navigate open doc by symbols) lets you move/search through headings quite easily. My '_work.md' file has a list of dates at the top for when things are due and uses '- [ ]' as checkboxes (which MarkdownPreview outputs as html checkboxes).

I find that as long as I write it down and watch what I'm writing (don't just copy without following your output) it helps to make it stick—or at least gives me a spatial memory of where it might be.

Flexibility is key. But what works for me, probably doesn't work for you. The important part is just to start doing it, write down all the things. Once you find something you'd like to be better about it, improve it. The nice thing about text files is that they are easy to parse and transform into something else.

[0]: To keep allow you to paste images into your markdown files. I've modified it so that it stores the files in a '.images' directory in the same location as the .md file. ImagePaste also has an image preview mode that lets you expand images directly inline in sublime-text.