Skip to content

Commit c5e6692

Browse files
authored
Merge pull request #13 from izolate/develop
v1.0.0
2 parents 3f52e4a + 7efa694 commit c5e6692

13 files changed

Lines changed: 2243 additions & 148 deletions

File tree

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
# Change these settings to your own preference
10+
indent_style = space
11+
indent_size = 2
12+
13+
# We recommend you to keep these unchanged
14+
end_of_line = lf
15+
charset = utf-8
16+
trim_trailing_whitespace = true
17+
insert_final_newline = true
18+
19+
[*.md]
20+
trim_trailing_whitespace = false
21+

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "standard"
3+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ node_modules
3737

3838
# Test
3939
test.*
40+
41+
# Vim
42+
*.swp

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
# 0.0.1
2-
Adds a CHANGELOG
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [1.0.0] - 2017-07-09
8+
### Changed
9+
- Use parse5 instead of jsdom
10+
11+
### Fixed
12+
- Text node bug due to inconsistent whitespace
13+
-   conversion error
14+
- Cyrillic characters encoding
15+
- Indentation for multi-line comments
16+
- Canvas tag issue

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# html2pug
2-
HTML to Pug converter.
2+
Converts HTML to Pug (formerly Jade)
33

4-
Node.js 5.0+ minimum. Uses depth-first search for DOM tree traversal, and ES6 generators.
4+
## Install
55

6-
## Early stages. Very experimental.
6+
Get it on npm:
77

8+
```bash
9+
npm i -g html2pug
810
```
9-
node lib/cli.js -f /path/to/file.html
11+
12+
## Usage
13+
14+
```bash
15+
html2pug -f /path/to/file.html
1016
```

lib/cli.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/index.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

lib/parser.js

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)