nicoulaj / idea-markdown

Markdown language support for IntelliJ IDEA (abandonned).
Apache License 2.0
600 stars 97 forks source link

Live preview support #55

Open Thinkscape opened 12 years ago

Thinkscape commented 12 years ago

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!

katowulf commented 12 years ago

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. ;)

diversario commented 11 years ago

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

studgeek commented 11 years ago

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.

tedyoung commented 11 years ago

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

AntelopeSalad commented 10 years ago

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.

vsch commented 9 years ago

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.

nicoulaj commented 8 years ago

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.