gedit-markdown icon indicating copy to clipboard operation
gedit-markdown copied to clipboard

Porting the markdown-preview to current versions of gedit

Open nielsmde opened this issue 8 years ago • 9 comments

Proposed changes concern

  • side- and bottom-panel
  • menu items

Detailed changes are in the commit messages.

nielsmde avatar Aug 26 '15 18:08 nielsmde

Thanks a lot for this pull request. I'll try to look at it soon.

jpfleury avatar Aug 29 '15 18:08 jpfleury

@nielsmde I wonder, which gedit version did you use to test your pull request?

jpfleury avatar Sep 29 '15 19:09 jpfleury

I'm currently using gedit 3.14

nielsmde avatar Sep 30 '15 05:09 nielsmde

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.

nielsmde avatar Oct 08 '15 06:10 nielsmde

Sorry for the delay. I'll try to look at it as soon as possible. Thanks a lot.

jpfleury avatar Nov 14 '15 00:11 jpfleury

Work's for me on Gedit 3.18.3 (Ubuntu 16.04 LTS), thanks a lot ;-)

kitzberger avatar Jun 26 '16 19:06 kitzberger

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... mdfail mdnofail

marc1uk avatar Jan 26 '17 17:01 marc1uk

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

danielesegato avatar Apr 11 '18 11:04 danielesegato

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!

darkdragon-001 avatar May 04 '20 14:05 darkdragon-001