Comparing version 0.1.1 to 0.1.2
// Generated by CoffeeScript 1.6.3 | ||
(function() { | ||
var app, fs, io, lantcommon, lantfile, path, server, _, _s; | ||
var app, express, fs, io, lantcommon, lantfile, path, server, _, _s; | ||
app = require("express")(); | ||
express = require("express"); | ||
app = express(); | ||
server = require("http").createServer(app); | ||
@@ -27,2 +29,6 @@ | ||
app.use("/_lantern", express["static"](path.join(__dirname, '../public/'))); | ||
app.use("/", express["static"](process.cwd())); | ||
server.listen(1619); | ||
@@ -29,0 +35,0 @@ |
{ | ||
"name": "lantern", | ||
"description": "Preview Markdown Files", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/swaroop/lantern", | ||
@@ -6,0 +6,0 @@ "author": { |
# Lantern | ||
Preview Markdown Files. | ||
Light up your markdown experiece. Preview Markdown Files. | ||
@@ -8,5 +8,21 @@ ## Installation | ||
## Start | ||
$ lantern | ||
Hit `localhost:1619` in your web browser. | ||
Open a markdown file in your editor, edit some text, save and it will appear in your browser automatically without reload. | ||
## TODO: | ||
- Serving current directory's images. | ||
- Support for custom stylesheet | ||
- Support for disabling yaml front-matter(if any). | ||
## License | ||
Copyright (c) 2014 Swaroop SM | ||
Licensed under the MIT license. | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/swaroopsm/lantern/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112554
15
821
28
6