From the course: Learning GitHub Pages
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Create code demos - GitHub Tutorial
From the course: Learning GitHub Pages
Create code demos
- [Instructor] The built-in Visual Studio code editor lets you publish repos that act as code playgrounds. Just like what you see on sites like CodePen and others. Now to do that, we can go ahead and create a new repository. Let's go to www.github.com/new again. I'm going to call this publish and then swing. That's because I'm going to use a special plugin or extension to Visual Studio code called CodeSwing. Now, we're going to need a new file already in here. So, I'm just going to create a readme. And this'll just say CodeSwing demo with Bootstrap. Let's go ahead and commit this. And now we can create our code demo. I'm going to hit the period key to pull up www.github.dev. And here, I want to make sure that I can use the extension called CodeSwing. So, I'm going to click on extensions right here. You can see that I've already got it installed. If you don't, let's go ahead and uninstall it. Reload this. And you can…