Open nielsmde opened 9 years ago
Thanks a lot for this pull request. I'll try to look at it soon.
@nielsmde I wonder, which gedit version did you use to test your pull request?
I'm currently using gedit 3.14
I upgraded to Gnome 3.18 recently and the plugin seems to work in gedit 3.18 too.
Except for some warnings:
/home/niels/.local/share/gedit/plugins/markdown-preview/__init__.py:21: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gdk, Gtk, Gedit, GObject, WebKit, Gio
/home/niels/.local/share/gedit/plugins/markdown-preview/__init__.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gdk, Gtk, Gedit, GObject, WebKit, Gio
/home/niels/.local/share/gedit/plugins/markdown-preview/__init__.py:21: PyGIWarning: Gedit was imported without specifying a version first. Use gi.require_version('Gedit', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gdk, Gtk, Gedit, GObject, WebKit, Gio
/home/niels/.local/share/gedit/plugins/markdown-preview/__init__.py:21: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gdk, Gtk, Gedit, GObject, WebKit, Gio
sys:1: PyGIWarning: Peas was imported without specifying a version first. Use gi.require_version('Peas', '1.0') before import to ensure that the right version gets loaded.
Sorry for the delay. I'll try to look at it as soon as possible. Thanks a lot.
Work's for me on Gedit 3.18.3 (Ubuntu 16.04 LTS), thanks a lot ;-)
Appears to work nicely for me on 3.14.0, after installing gir1.2-webkit-3.0 and python3-markdown. Thanks nielsmde. 👍 But... it doesn't seem to work very well? I've attached two images: one from gedit-markdown, and a screenshot from the same file implemented on https://github.com/WCSim/WCSim. The formatting hasn't rendered properly...
Any news on this?
I'm on Ubuntu 16.04.4 LTS, gedit 3.18.3 and am affected by this issue: https://github.com/jpfleury/gedit-markdown/issues/15
I just want to let you know, that I created a fork (based on @nielsmde's work): https://github.com/darkdragon-001/gedit-markdown/
Please test the latest release. Pull requests are always welcome!
Proposed changes concern
Detailed changes are in the commit messages.