4

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

Ivar Persson
  • 143
  • 3

1 Answers1

7

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"

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
medoc
  • 246
  • 1
  • 4
  • 1
    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