cooklang / cooklang-obsidian

Edit and display CookLang recipes in Obsidian
MIT License
204 stars 16 forks source link

Minor bug: "Toggle edit/preview mode" command does not work for *.cook files #15

Open Dmytro-Shulha opened 2 years ago

Dmytro-Shulha commented 2 years ago

First, thank you for this plugin!

I noticed that command "Toggle edit/preview mode" does not work in a file with .cook extension. However, the button for this command works as expected.

deathau commented 2 years ago

Ah, yes. That makes sense as this isn't a markdown view and therefore doesn't follow the same commands. I wonder if there's a way I can tap into the existing command / hotkey... 🤔

Jopp-gh commented 2 years ago

If doable, We should use Markdown to edit and cook lang to render / preview recipes. Export should support .cook , .html