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
Might be a bug where the preview updates before the document is loaded and doesn't update after it loaded. If you can reproduce, can you check what the filetype shown in the statusbar says before you start editing?
![Screenshot from 2021-02-04 17-30-06](https://user-images.githubusercontent.com/181177/106977245-cc511100-670e-11e...)
![image](https://user-images.githubusercontent.com/78566900/107098543-c2630700-680f-1...)
So here is a screenshot from the statusbar after loading. Filetype is ok...
Fingers crossed for the pull request.
Is there a workaround in the meantime?
I am also experiencing this 1.37.1 - Using GTK+ v2.24.32 and GLib v2.66.2 runtime libraries on Windows 10 64bit
a file `foo.markdown` is indeed detected as filetype markdown, but the markdown preview tab shows that same
The current document does not have a Markdown filetype.
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. This is because there are no WebkitGTK packages available in Mingw64 and so we cannot build and distribute the plugin :(.
FYI, FWIW, the plugin is still being offered in the Debian 12.2 repository on my MX Linux distro. Here's the repo listing as shown in aptitude:
i --\ geany-plugin-markdown
Description: markdown plugin for Geany This plugin provides a real-time preview of rendered Markdown in Geany.
Geany is a small and lightweight integrated development environment using the Gtk+ toolkit.
Homepage: http://plugins.geany.org Tags: uitoolkit::gtk Priority: optional Section: devel Maintainer: Geany Packaging Team pkg-geany-team@lists.alioth.debian.org Architecture: amd64 Compressed Size: 523 k Uncompressed Size: 605 k Source Package: geany-plugins Label: Debian Origin: Debian:12.2/stable [amd64] Origin URI: http://deb.debian.org/debian/pool/main/g/geany-plugins/geany-plugin-markdown... --\ Depends (9) --- geany --- geany-abi-18432 --- geany-plugins-common (= 1.38+dfsg-2) --- libc6 (>= 2.4) --- libglib2.0-0 (>= 2.37.3) --- libgtk-3-0 (>= 3.3.16) --- libmarkdown2 (>= 2.0.6) --- libpango-1.0-0 (>= 1.14.0) --- libwebkit2gtk-4.0-37 (>= 2.5.3) --\ Enhances (1) --- geany --\ Conflicts (1) --- geany-plugin-markdown --- Packages which depend on geany-plugin-markdown (2) --\ Versions of geany-plugin-markdown (1) i 1.38+dfsg-2
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.
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:
```bash WEBKIT_DISABLE_COMPOSITING_MODE=1 geany ```
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.
Don't know if that will make it available in the windows build as @eht16 comment above notes
It is not and will be not available in the Windows builds, this is already the case since Geany 1.38.
github-comments@lists.geany.org