Skip to content

Commit

Permalink
Convert Jade to Pug
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Nov 21, 2016
1 parent eaa0b22 commit 5bdd1eb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This is a live document and changes can occur at any time.

1. [Commits](#commits)
1. [HTML](#html)
1. [Jade](#jade)
1. [Pug](#Pug)
1. [CSS](#css)
1. [CSS Preprocessors](#css-preprocessors)
1. [JavaScript](#js)
Expand Down Expand Up @@ -261,19 +261,19 @@ For give support a olds Internet Explorer...
...
```

<a name="jade"></a>
## 3. Jade
<a name="Pug"></a>
## 3. Pug

Currently using Jade like template engine.
Currently using Pug like template engine.

### Jade Summary
### Pug Summary

1. [Jade Syntax](#jade-syntax)
1. [Jade Comments](#jade-comments)
1. [Jade Base Code](#jade-base)
1. [Pug Syntax](#Pug-syntax)
1. [Pug Comments](#Pug-comments)
1. [Pug Base Code](#Pug-base)

<a name="jade-syntax"></a>
### 3.1. Jade Syntax
<a name="Pug-syntax"></a>
### 3.1. Pug Syntax

Use soft tabs with two spaces. You can configure your editor for this.

Expand Down Expand Up @@ -324,10 +324,10 @@ main.main(role='main')
section.content
```

<a name="jade-comments"></a>
### 3.2. Jade Comments
<a name="Pug-comments"></a>
### 3.2. Pug Comments

Follow this rule to add comments in Jade.
Follow this rule to add comments in Pug.

```javascript
//- This is a good example
Expand All @@ -337,10 +337,10 @@ Follow this rule to add comments in Jade.

The comments using `//-` not is compiled on final code.

<a name="jade-base"></a>
### 3.3. Jade Base Code
<a name="Pug-base"></a>
### 3.3. Pug Base Code

The following code is a Jade for faster start the projects.
The following code is a Pug for faster start the projects.

```javascript
doctype html
Expand Down
30 changes: 15 additions & 15 deletions translations/pt-BR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Este é um documento vivo e mudanças podem acontecer a qualquer momento.

1. [Commits](#commits)
1. [HTML](#html)
1. [Jade](#jade)
1. [Pug](#Pug)
1. [CSS](#css)
1. [CSS Pré-processadores](#css-preprocessors)
1. [JavaScript](#js)
Expand Down Expand Up @@ -260,19 +260,19 @@ Para fornecer suporte para versões antigas do Internet Explorer...
...
```

<a name="jade"></a>
## 3. Jade
<a name="Pug"></a>
## 3. Pug

Atualmente usando Jade como template engine.
Atualmente usando Pug como template engine.

### Jade Sumário
### Pug Sumário

1. [Jade Sintaxe](#jade-syntax)
1. [Jade Comentários](#jade-comments)
1. [Jade Código Base](#jade-base)
1. [Pug Sintaxe](#Pug-syntax)
1. [Pug Comentários](#Pug-comments)
1. [Pug Código Base](#Pug-base)

<a name="jade-syntax"></a>
### 3.1. Jade Syntax
<a name="Pug-syntax"></a>
### 3.1. Pug Syntax

Use soft-tabs com dois espaços. Você pode configurar o seu editor dessa forma.

Expand Down Expand Up @@ -323,8 +323,8 @@ main.main(role='main')
section.content
```

<a name="jade-comments"></a>
### 3.2. Jade Comentários
<a name="Pug-comments"></a>
### 3.2. Pug Comentários

Siga esta regra para adicionar comentários no HTML.

Expand All @@ -336,10 +336,10 @@ Siga esta regra para adicionar comentários no HTML.

Os comentários usando `//-` não são compilados no código final.

<a name="jade-base"></a>
### 3.3. Jade Base Code
<a name="Pug-base"></a>
### 3.3. Pug Base Code

O código a seguir é uma base em Jade para iniciar rápidamente os projetos.
O código a seguir é uma base em Pug para iniciar rápidamente os projetos.

```javascript
doctype html
Expand Down

0 comments on commit 5bdd1eb

Please sign in to comment.