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

Live preview support

Open Thinkscape opened this issue 11 years ago • 7 comments

The preview option is very limited, because one has to click it all the time to see changes.

I've tried to trick it by doint the following:

  1. Open markdown document.
  2. Split the view horizontally or vertically.
  3. Select Text on the first split pane.
  4. Select Preview on the second pane.

Unfortunately it does not auto-refresh, so it will not work as expected (entering any markdown will not update the preview until manually switched to text and back to preview again)

Please add live-preview option and/or auto-refresh of the preview. Thanks!

Thinkscape avatar Jul 16 '12 19:07 Thinkscape

Additionally, the preview resets to the end of the file each time, so if markdown is more than one page, I have to make a change, switch to preview, scroll back to the content, switch back to the editor... Rinse. Repeat. Meh. ;)

katowulf avatar Jul 16 '12 21:07 katowulf

Oh, I was going to report this same thing about preview not refreshing automatically. That'd be awesome to have.

diversario avatar Nov 04 '12 20:11 diversario

I'm missing how #53 blocks this? Isn't it possible to at least add a shortcut that does a "save and update previews"? Since just clicking on the preview updates it I'm missing how its a parse problem.

studgeek avatar Jan 09 '13 21:01 studgeek

I filed a separate issue to track the scrolling problem mentioned by @katowulf.

tedyoung avatar Mar 15 '13 18:03 tedyoung

I would really like to see this. I was unpleasantly surprised that it wasn't possible. It also took 5 minutes to find out the plugin even had a preview to begin with.

If idea's interface is too weird to make this work maybe you can have it preview in the browser and use some javascript to convert it to html. This would also make it possible to add in useful features such as being able to use github's CSS styles in the live preview.

AntelopeSalad avatar Feb 03 '14 15:02 AntelopeSalad

It was an issue caused by update to be performed only when the HTML Preview tab as selected. Updating the view when the tab is not selected clears the problem. see: https://github.com/vsch/idea-multimarkdown.

vsch avatar Aug 22 '15 06:08 vsch

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.

nicoulaj avatar May 22 '16 11:05 nicoulaj