MarkdownPreview icon indicating copy to clipboard operation
MarkdownPreview copied to clipboard

Preview in separate Window (as for html) or on the right side

Open zu opened this issue 10 years ago • 41 comments

I'd prefer a previoew window besides the text window and not below it, if that would be possible, that would be great.

Even have it in its own window as it is tha case with HTML files would be good.

zu avatar Dec 09 '13 08:12 zu

I also would appreciate an option to preview markdown live in the browser, similar to html/css, rather than an in-editor panel. It would give users more freedom to arrange the windows according to their workflow.

jonthesquirrel avatar Jan 24 '14 21:01 jonthesquirrel

Does this work any longer in Brackets Sprint 35? I have not seen any window, nor any preview in the browser... Thanks in advance!

davidbourguignon avatar Feb 05 '14 10:02 davidbourguignon

@davidbourguignon As far as I know, no option to view the markdown preview except the horizontal split pane has ever been added; This is a feature suggestion. (correct me if I'm wrong)

jonthesquirrel avatar Feb 05 '14 13:02 jonthesquirrel

@davidbourguignon @lazercar The extension only shows the preview in the bottom panel. I'd like to have an option for displaying in a separate window, but I don't know when I'll have time to implement that. I'd be happy to take a pull request :-)

gruehle avatar Feb 05 '14 17:02 gruehle

@gruehle @lazercar Thanks for your feedback but something puzzles me: I just installed Sprint 36 with the latest version of the markdown preview extension, and there is still nothing visible on my screen, no bottom panel... There is just this new icon on the right, under the two other default icons for opening Chrome and the extension manager. When I click several times on this new icon it turns blue in the end, but nothing else happens. Very strange. Could this be due to a conflict with one or several other extensions?

davidbourguignon avatar Feb 07 '14 21:02 davidbourguignon

@davidbourguignon What other extensions do you have installed? There is a chance there could be a conflict.

Another possibility is that you may have a corrupt preferences file. Try following the directions here to clear your cache.

gruehle avatar Feb 07 '14 21:02 gruehle

I must admit, a vertical split would be handy indeed, what with widescreen monitors :)

calmcl1 avatar Feb 07 '14 23:02 calmcl1

+1 for vertical split so I can replace Mou with this extension. Good work so far @gruehle, loving it.

haydenbleasel avatar Feb 08 '14 12:02 haydenbleasel

@gruehle Here is my extensions list:

  • CSSLint for Brackets
  • Font Viewer
  • HTMLHint
  • Indent Guides
  • Indentator
  • Inline Regex Editor
  • JSHint
  • JSONLint Extension for Brackets
  • Markdown Preview
  • Simple JS Code Hints
  • Special HTML Characters
  • Spell Check
  • Strip Trailing Spaces
  • SVG Preview
  • Tab To Space
  • Themes For Brackets
  • W3C Validation

By removing all of them, cleaning the cache, and restarting with only Markdown Preview, I got the right behavior. I will install them again, one by one, according to my needs, and will let you know if I spot a conflict.

davidbourguignon avatar Feb 10 '14 08:02 davidbourguignon

@davidbourguignon - The 'CSSLint for Brackets' extension is causing the problem. I have a fix that should get pushed later today. In the meantime, you can try the other 'CSSLint' extension, which does not have the same problem.

gruehle avatar Feb 10 '14 18:02 gruehle

Thanks a lot @gruehle! I just downloaded and installed the new version of your extension. It looks great! I do like very much the simple and effective theming options... By the way, what about providing the same theming options for the entire application? Currently, the white-background-and-gray-font default theme, while good-looking, is a bit difficult to read.

davidbourguignon avatar Feb 11 '14 14:02 davidbourguignon

@davidbourguignon - glad to hear everything is working for you! Theming for the entire application is on the Brackets backlog: There is a full Theme Support card and a simpler Light and Dark card. Feel free to vote for one (or both) of the cards. In the meantime, there are a couple theme extensions available that you can check out.

Getting back to the original topic for this bug... I looked into making the Markdown Preview a right panel instead of a bottom panel. Unfortunately, there is no real support in Brackets for right panels, and hacking something in is finicky and likely to break. I'll look into opening up the preview in a separate window instead.

gruehle avatar Feb 11 '14 18:02 gruehle

@gruehle Thanks for the info: I just voted! :-) Currently, I am using the "Themes for Brackets" extension. I like its approach: it has less themes to offer than the other one, but they are more polished.

Regarding the panels issue, I have no special preferences, and I am currently fine with the bottom panel. However, the separate window idea sounds good for large files! Thanks in advance for this great feature.

davidbourguignon avatar Feb 15 '14 11:02 davidbourguignon

@gruehle Bummer that Brackets does not offer panels split vertically. Might be worth suggesting it on the brackets team. No point people developing extensions hitting their heads against a brick wall :)

I would also suggest scroll synchronisation. Again does the framework support this - doubt it ? Does it stop you implementing it in your own extension - i expect / hope not ? In regards to synchronizing panels scroll positions, i have noticed on some of the good ones that run as chrome apps that it's not perfect anyway because of the lack of anchor points to cross reference across each panel. I think it all depends on the markdown transcoder being used i suspect, so it provide an "anchor point" to use to control the vertical scroll.

bmadmin avatar Mar 08 '14 15:03 bmadmin

:+1:

Also, it would be awesome to be able to use the whole width of the preview, instead of a fixed one. Maybe let the user customize this?

drgomesp avatar Mar 13 '14 13:03 drgomesp

please enable the vertical split, it's a pain to work with horizontal split. thank you!

SeriousM avatar Mar 14 '14 14:03 SeriousM

:+1: Vertical split!

Maybe even allow a separate window, so we can drag the preview to a second (or third :P) monitor.

thany avatar Apr 14 '14 09:04 thany

Maybe even allow a separate window, so we can drag the preview to a second (or third :P) monitor.

:+1: :+1: :+1:

SeriousM avatar Apr 14 '14 11:04 SeriousM

+1 Vertical Split

felipekm avatar Aug 13 '14 20:08 felipekm

So I took a stab at this feature and it seems that in order to solve this in a good way, brackets must first add some support. Please vote here to help the underlying work get prio, then once that is implementd, anyone should be able to pull request this feature. https://trello.com/c/GezHZcCx/390-m-split-view-same-document

Dashue avatar Sep 05 '14 00:09 Dashue

done :)

On 9/5/14, Johan Nilsson [email protected] wrote:

So I took a stab at this feature and it seems that in order to solve this in a good way, brackets must first add some support. Please vote here to help the underlying work get prio, then once that is implementd, anyone should be able to pull request this feature. https://trello.com/c/GezHZcCx/390-m-split-view-same-document


Reply to this email directly or view it on GitHub: https://github.com/gruehle/MarkdownPreview/issues/31#issuecomment-54566029

SeriousM avatar Sep 05 '14 06:09 SeriousM

+1 Vertical Split please

davidelrizzo avatar Nov 16 '14 04:11 davidelrizzo

+1 Vertical Split

shrkw avatar Jan 05 '15 17:01 shrkw

+1 Vertical Split

NoAnyLove avatar Jan 05 '15 23:01 NoAnyLove

+1

moniquelive avatar Jan 08 '15 15:01 moniquelive

+1 Vertical Split

derkan avatar Mar 06 '15 09:03 derkan

+1 Vertical Split

andrewconnell avatar Mar 10 '15 17:03 andrewconnell

+1 Vertical/Window Split. Great job so far!

PieterVDE avatar Mar 22 '15 23:03 PieterVDE

+1 for vertical split. Does brackets provide necessary features for that?

publicENEMY avatar Jun 26 '15 09:06 publicENEMY

+1 Vertical Split

gedalos avatar Aug 21 '15 08:08 gedalos