Markdown-preview-enhanced: Project Development Discussion & Advice

Created on 26 Oct 2016  路  9Comments  路  Source: shd101wyy/markdown-preview-enhanced

Hi guys,

I am planning to remove the run and all button for code chunks and use keyboard shortcut instead.
screen shot 2016-10-26 at 12 00 47 am.

I am planning to use shift-enter to run one selected (where your cursor is at) code chunk and ctrl-shift-enter to run all code chunk.

Do you guys agree with this proposal or you have any other ideas?

Thanks.

All 9 comments

There are several reasons why I want to remove these two buttons.

  1. When I am trying to hide the code chunk like

    {node hide:true} console.log('hello world')

    currently the code chunk will still be displayed in the preview because I have to show run and all buttons; otherwise there is no way to execute the code without these two buttons.
  2. From my point of view, keyboard shortcut is more intuitive and fast compare to clicking button.

I will remove run and all buttons if nobody disagrees with me by the end of this weekend.
Hopefully a new version will be released this weekend. (I finally finished all my midterms)

Thanks :)

NVM I DECIDE TO REMOVE run and all buttons

hi @shd101wyy i just checked 0.8.8 but i can't run the chunks anymore!

i tried disinstalling ALL other plugins, but nothing..

i have an italian keyboard but i don't that's it

SOLVED: i had just to restart Atom :) sorry

@StefanoCecere sorry for the change and trouble.
If you want I can put those buttons back in next version...

Well I guess U had good reasons to remove the buttons!!

Anyway when the shortcuts work and you know them, it's faster!

Maybe novice users would prefer buttons. I'll use shortcuts from now on.

code chunks are one of the more powerful functions seen in Text editor.

In the end, I put those two buttons back 馃槼 , but they won't show up unless hovered. (Won't be displayed for hidden code chunk).
I also added stdin option.
Anyway closing this issue out.

huge improvement 0.8.9! mighty @shd101wyy

closing this issue :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abhayghatpande picture abhayghatpande  路  5Comments

shd101wyy picture shd101wyy  路  4Comments

adamaltmejd picture adamaltmejd  路  5Comments

siriuscc picture siriuscc  路  3Comments

saeidamiri1 picture saeidamiri1  路  3Comments