-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# IDE | ||
.idea | ||
*.iml | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,31 @@ | ||
sourcejs-jade | ||
============= | ||
Jase support for SourceJS | ||
=============== | ||
|
||
Jade support for NodeJS | ||
[SourceJS](http://sourcejs.com) middleware to support [Jade](http://jade-lang.com/) markup language (`*.jade`) instead of native `*.src`. | ||
|
||
## Install | ||
|
||
To install, run npm in `sourcejs/user` folder: | ||
|
||
``` | ||
npm install sourcejs-jade --save | ||
``` | ||
|
||
Then restart your SourceJS application, middleware will be loaded automatically. | ||
|
||
## Usage | ||
|
||
After installing middleware, instead of `index.src` pages, you can `index.jade` files with Jade markup. | ||
|
||
index.jade | ||
|
||
``` | ||
h1 Jade - node template engine | ||
#container.col | ||
p. | ||
Jade is a terse and simple | ||
templating language with a | ||
strong focus on performance | ||
and powerful features. | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters