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

geany-plugin-markdown: can save preview into an html? #497

Closed
eexpress opened this issue Nov 7, 2016 · 1 comment
Closed

geany-plugin-markdown: can save preview into an html? #497

eexpress opened this issue Nov 7, 2016 · 1 comment

Comments

@eexpress
Copy link

eexpress commented Nov 7, 2016

The preview is perfect with multimarkdown and pandoc' markdown file. (some syntax of table different in multimarkdown and pandoc).

If we can use the WebKit preview' menu to save the result into an html file? Even convert into an pdf file with wkhtmltopdf. It seems quite easy to do it.

codebrainz added a commit to codebrainz/geany-plugins that referenced this issue Nov 11, 2016
Add a Tools menu item "Export Markdown as HTML" to allow saving of the
rendered HTML to disk instead of just the live preview.

Closes geany#497
@codebrainz
Copy link
Member

I added some code to save the rendered HTML into a file in #502. It's a menu item in the "Tools" menu.

frlan pushed a commit that referenced this issue Nov 13, 2016
* Markdown: Allow exporting Markdown as HTML

Add a Tools menu item "Export Markdown as HTML" to allow saving of the
rendered HTML to disk instead of just the live preview.

Closes #497

* Markdown: improve Export to HTML feature

* Use the document's filename as the basis for the new HTML filename.
* Properly setup the initial directory and suggested filename in the
  file chooser.
* Re-run the file chooser after showing error message if saving fails.
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

2 participants