aliva / gedit-markdownpreview

GNU General Public License v2.0
22 stars 3 forks source link

filetypes #6

Closed hcal closed 5 years ago

hcal commented 5 years ago

The plugin is great. It seems to be driven by the file name extension. It works when the file name ends in .mkd Could you add support for .md which I believe is another common markdown file extension.

aliva commented 5 years ago

Hi Actually no, It depends on gedit internal file type detection (link to code)

so if file is detected as markdown by gedit then plugin should work fine, (check if your file type is correctly detected)

note that you should pres ctr+alt+m to open preview

If it doesn't work please open gedit in terminal, open markdown file, press ctrl-alt-m then check if there is any error on output, also make sure plugin is active

If above didn't work we might need to do some debugging :-)

hcal commented 5 years ago

No, I made an assumption about what was happening with too little information. It works as you describe. I appreciate you making this and thanks for the help.