Org-mode can do that. Here is a nice tutorial that is simple to quickly learn and use
I would like to note them down for future reference.
You can store mostly anything in Emacs with
org-store-link inside an
org-mode buffer and later open that link again. You can even store remote ssh link to a file and later open it, the same way as you open your local files! You can also store URL on the web that is clickable.
Use plain text file
able to search by text strings.
Org-mode is completely plain text, so you can use any text search tool to search for content.
able to generate output, in html/pdf.
Org-mode can generate many output. My series of guides is an example. Or the Org Manual. Here is a list of formats that you can export with
Org-mode. You can export to mark down later if you want.