Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
[docs] HTML/CSS in Gitpod
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hellum committed Feb 15, 2020
1 parent 030d7dc commit 6e3edb7
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/docs/html-in-gitpod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# HTML

Looking to try web development in Gitpod? Well you're in luck: Gitpod was made with web development in mind. And, depending on your needs, you may want to customize this experience further!

## Emmet Support

Gitpod comes with emmet support right out of the box you can open a preview while you are coding in the upper right hand corner ![preview icon](images/preview.png) click it see the result in real time!

![image of preview](images/emmet_preview.png)

## VSCode Extensions

### [HTML-Snippets](https://marketplace.visualstudio.com/items?itemName=abusaidm.html-snippets)

This extension adds many useful snippets for productivity. See for yourself:

![Example](images/HTML-Snippets-Example.gif)

To add this extension to your repository add the following to your [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) file

```yaml
vscode:
extensions:
- [email protected]:7b7Vkkp6Lem9WOqKCYMq2w==
```
### [HTML CSS Support](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css)
This will add great auto-completion for your project, including color-completion!
![HTML-CSS-Support](images/HTML_CSS_Extension.png)
To add this extension to your repository add the following to your [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) file

```yaml
vscode:
extensions:
- [email protected]:RBTpzQbz8rn5KTlc82tnsQ==
```

## Try It!

Want to try it out? And see a minimal example in action? Great, then you can open this in Gitpod:

[![JesterOrNot/Gitpod-Web-Development-Example](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/JesterOrNot/Gitpod-Web-Development-Example)
Binary file added src/docs/images/HTML-Snippets-Example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/images/HTML_CSS_Extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/images/emmet_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/images/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/docs/languages-and-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Below is a list of language and framework specific tips & tricks.

* [Python](/docs/python-in-gitpod/)
* [HTML](/docs/html-in-gitpod/)
* [Java](/docs/java-in-gitpod/)
* [C++](/docs/cpp-in-gitpod/)
* [Go](/docs/go-in-gitpod/)
Expand Down
4 changes: 4 additions & 0 deletions src/docs/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ export const MENU: MenuEntry[] = [
"Python",
"python-in-gitpod"
),
M(
"HTML/CSS",
"html-in-gitpod"
),
M(
"Java",
"java-in-gitpod"
Expand Down

0 comments on commit 6e3edb7

Please sign in to comment.