3

From what I understand markdown is pretty similar to text and html, which are all indexed by the recoll search engine.

However my markdown files with extension .md are not being indexed. I have checked the filters and I am not sure which one applies to markdown, or if its support is missing altogether.

If there is a simple way of manually creating a filter then it would be wonderful if someone could help me with creating one. Or if it is a simple setting I'm missing could you please point it out?

I am running the latest version of recoll (1.21.5) on Debian Testing

6

Edit ~/.recoll/mimemap, add the following line:

.md = text/plain

This will tell recoll to index markdown as normal text, which it is, mostly, so I think that things should "just work"

| improve this answer | |
  • Thanks! I added .md = text/html .mmd = text/html to the ~/.recoll/mimemap file and it works now. The config file examples located at /usr/share/recoll/examples are also very useful – Ivar Persson Mar 15 '16 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.