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

I can't figure out how to do side-by-side preview.

Open ewilson opened this issue 10 years ago • 9 comments

I'm sure the only defect here is user error, but I can't find any way to move the preview to the side. Help?

ewilson avatar Jul 25 '15 19:07 ewilson

I should mention: Ubuntu 14.04, GEdit 3.10.4

ewilson avatar Jul 25 '15 20:07 ewilson

Open the file $HOME/.config/gedit/gedit-markdown.ini and change the following line:

panel = bottom

for this:

panel = side

Let me know if it works. You'll have to restart gedit.

jpfleury avatar Jul 25 '15 20:07 jpfleury

[markdown-preview] 
externalBrowser = 0 
panel = bottom  
shortcut = <Control><Alt>m
version = extra
visibility = 1
visibilityShortcut = <Control><Alt>v

Here is my config file. If I change bottom to side then the side panel is open with the file browser, and the bottom panel is unavailable. So in that case I see no way to get the preview at all.

ewilson avatar Jul 26 '15 00:07 ewilson

Oops closed by accident. Still an issue.

ewilson avatar Jul 26 '15 00:07 ewilson

If you run gedit in a terminal, is there any error output?

jpfleury avatar Jul 26 '15 01:07 jpfleury

$ gedit ~/.config/gedit/gedit-markdown.ini 
java version "1.6.0_35"
OpenJDK Runtime Environment (IcedTea6 1.13.7) (6b35-1.13.7-1ubuntu0.14.04.1)
OpenJDK Server VM (build 23.25-b01, mixed mode)

No errors, that is all of the output.

ewilson avatar Jul 26 '15 02:07 ewilson

edit: Never mind. I misread it.

It is the same panel as filebrowser. You just need to change what it shows, and the bottom of the panel, I can change between "Documents", "File Browser" and "Markdown Preview"

J-Moravec avatar Jul 29 '15 01:07 J-Moravec

Hey @ewilson , can you please close this issue. I think @J-Moravec mentioned why the panel did not show markdown preview, right?

gitfineon avatar Jun 28 '18 16:06 gitfineon

I created a fork which works with current versions: 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