Skip to content

Commit

Permalink
bugfix md render error in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyelee committed Jan 25, 2019
1 parent feecd30 commit e0dd0fc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

2.2.6 / 2019-01-25
==================
* bugfix: markdown file could not be shown correctly in linux. thanks @RB-Lab @bugs1111

2.2.5 / 2015-03-25
==================

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Silent mode. When set to `true`, there will no logs been displayed.
### --ftpl

Type: `Path | String`
Default: `public/fileTpl.html`
Default: `public/file_template.html`

There are two types of pages
* `directory` page: list the files and directories of the current dictionary
Expand All @@ -57,7 +57,7 @@ There are two types of pages
### --dtpl

Type: `Path | String`
Default: `public/dirTpl.html`
Default: `public/dir_template.html`

Template used for the `directory` pages. If not set, the option will use the default file provided by the application

Expand Down
4 changes: 2 additions & 2 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ function initOptions(options) {
root: process.cwd()
, port: '3333'
, style: path.resolve(__dirname, '../public/screen.css')
, dtpl: path.resolve(__dirname, '../public/dirTpl.html')
, ftpl: path.resolve(__dirname, '../public/fileTpl.html')
, dtpl: path.resolve(__dirname, '../public/dir_template.html')
, ftpl: path.resolve(__dirname, '../public/file_template.html')
, view: 'details'
, silent: false
};
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e0dd0fc

Please sign in to comment.