ionic-team / capacitor-site

Capacitor website
https://capacitorjs.com/
MIT License
4 stars 109 forks source link

Code snippets for shell commands shouldn't include `$` if they're meant to be copied. #420

Closed nickkaczmarek closed 2 years ago

nickkaczmarek commented 2 years ago

Issue

I am going through this tutorial and noticed that the shell commands have a copy function but include the shell prompt $. When you copy the commands you have to edit that $ out. I think it would be a good idea to just not include that at all. Wanted to gauge feelings on this before I potentially fork the project and go crazy deleting all the $ in the shell code snippets.

Oddly enough, it isn't all the shell snippets. Just some of them.

Examples

$ ionic start photo-gallery tabs --type=angular --capacitor
$ cd photo-gallery
nickkaczmarek commented 2 years ago

I wrote this issue in the wrong repo. 🤦🏽‍♂️ Copying over to the correct one.

nickkaczmarek commented 2 years ago

Created the issue here. Closing this now.