-
Notifications
You must be signed in to change notification settings - Fork 270
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
Markdown Plugin Preview not working after starting geany with a file that was already opened the other day #1062
Comments
So here is a screenshot from the statusbar after loading. Filetype is ok... |
For whatever reason, in some cases `document_get_current()` doesn't return a valid document when it seems like it should, so when updating the markdown preview from signals where the related GeanyDocument is available, use that instead of calling `document_get_current()`. In other cases, continue to use `document_get_current()` as before. Closes geany#1062
update: I just began typing again and it began working. I resized my sidebar back and forth, then I resized the whole window, then I started typing. I think I reflexively saved (but I do that often enough that I have no memory of it.) Fingers crossed for the pull request. Is there a workaround in the meantime? I am also experiencing this a file
|
JFTR, the PR won't help you much: the current version 1.38 and future versions of Geany-Plugins don't include the Markdown plugin any longer. |
FYI, FWIW, the plugin is still being offered in the Debian 12.2 repository on my MX Linux distro. And now, after reading the preceding (March 6, 2022) comment by "eht16", I finally understand why the plugin fails to render previews. Darn it. I was pretty psyched to have Geany double up as a live preview Markdown editor. p.s. – @codebrainz – It might be worth noting on the website entry (https://plugins.geany.org/markdown.html) that the plugin has been deprecated. |
Seems Webkit stuff is broken on all programs using it (Geany, Liferea, …). I usually succeed by starting Geany (and others) on the command line like so: WEBKIT_DISABLE_COMPOSITING_MODE=1 geany |
DYNAMITE ANSWER Ive looked everywhere for this. What a journey. Needs +100 updoots and put on top of all searches. |
Note, as the markdown plugin does not seem to be maintained by its creator any more a kind contributor has provided a fix to move the plugin from webkitgtk to a newer version of webkit2gtk merged 3 months ago, so probably in release 2.1 ("soon" don't ask ;-). Don't know if that will make it available in the windows build as @eht16 comment above notes and I don't know and how long that will keep it working given it effectively has no maintainer. |
It is not and will be not available in the Windows builds, this is already the case since Geany 1.38. |
After starting geany 1.37.1 Debian GNU/Linux 10 (buster) with a markdown-file that was opened already yesterday, the preview is not working (see below) until the moment I edit the file again. Phew, quite difficult to explain exactly, sorry.
The shown 'error' in the preview is: The current document does not have a Markdown filetype
Not a big issue for me but I still wanted to post it
The text was updated successfully, but these errors were encountered: