Login  Register

Re: Mimetype for Asciidoc

Posted by Hocdoc on May 22, 2013; 7:55am
URL: https://discuss.asciidoctor.org/Mimetype-for-Asciidoc-tp211p219.html

Ok, thanks, I have added ticket TIKA-1123 in the Tika issue tracker for this.

I will use this mimetype in my Tika/Asciidoctor-project:

<mime-type type="text/x-asciidoc">
  <_comment>Asciidoc source code</_comment>
  <glob pattern="*.asciidoc"/>
  <glob pattern="*.adoc"/>
  <glob pattern="*.ad"/>
  <glob pattern="*.ad.txt"/>
  <glob pattern="*.adoc.txt"/>
  <sub-class-of type="text/plain"/>
</mime-type>