On Sat, 14 May 2022 19:40:28 +0200 meik michalke <meik.micha...@uni-duesseldorf.de> wrote: > the following worked well on my system: > > 1. create a new file > ~/.local/share/mime/packages/application-vnd.kde.rmarkdown.xml
[...] > 2. run > > update-mime-database ~/.local/share/mime > > you can now register RKWard with either text/markdown or > application/vnd.kde.rmarkdown (since i've defined the latter as a > sub-class, applications for text/markdown will automatically also > open RMarkdown files). I have added it, essentially like this, but calling it text/vnd.kde.rmarkdown, a it is still useable as plain text too. While doing so, I re-discovered, that we're actually shipping a mimetype for .rdata, too... Regards Thomas
pgp_d4wdF6U5S.pgp
Description: OpenPGP digital signature