if you do not have the "show all file extensions" enabled, `.md` query in spotlight will not show up anything.
try without extension. (eg: just the name)
I even have scripts to locate other scripts using mdfind, it is pretty robust to be honest...
Eg:
source $(mdfind -name spacelatte-bashlib.sh)