Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export recipe preview to HTML file #20

Open
Lonerider2010 opened this issue Feb 27, 2022 · 2 comments
Open

Export recipe preview to HTML file #20

Lonerider2010 opened this issue Feb 27, 2022 · 2 comments

Comments

@Lonerider2010
Copy link

As far as I understand the code of codeview.ts, the formatting of the recipe is done in HTML. So it should be easy to add a command "Export recipe to HTML file" and write the HTML code into a file. This would be very useful to me (and probably to other users as well) in order to create HTML cookbooks and convert them to PDF.

@seangaffney
Copy link

seangaffney commented Apr 22, 2022

Would love this feature as well! Trying to share a recipe with a friend that doesn't use CookLang and found it challenging...

Perhaps could lean on the Obsidian Pandoc plugin to do the heavy lifting? I assume this doesn't work "out of the box" because the Pandoc plugin doesn't recognize the .cook extension and assumes it's binary, even though the output is HTML.

@cgraham149
Copy link

+1 for a Printing [Feature]

Would love this feature as well! Trying to share a recipe with a friend that doesn't use CookLang and found it challenging...

Perhaps could lean on the Obsidian Pandoc plugin to do the heavy lifting? I assume this doesn't work "out of the box" because the Pandoc plugin doesn't recognize the .cook extension and assumes it's binary, even though the output is HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants