Skip to content

Commit

Permalink
#495 added editor style in zen mode and removed outdated line from do…
Browse files Browse the repository at this point in the history
…cumentation
  • Loading branch information
eliseealex committed Feb 3, 2016
1 parent f52a969 commit bbfbd1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -50,7 +50,6 @@ $ npm i -g gulp
$ git clone [git-repo-url] dillinger
$ cd dillinger
$ npm i -d
$ mkdir -p downloads/files/{md,html,pdf}
$ gulp build --prod
$ NODE_ENV=production node app
```
Expand Down Expand Up @@ -136,7 +135,7 @@ MIT
[express]: <http://expressjs.com>
[AngularJS]: <http://angularjs.org>
[Gulp]: <http://gulpjs.com>

[PlDb]: <https://github.com/joemccann/dillinger/tree/master/plugins/dropbox/README.md>
[PlGh]: <https://github.com/joemccann/dillinger/tree/master/plugins/github/README.md>
[PlGd]: <https://github.com/joemccann/dillinger/tree/master/plugins/googledrive/README.md>
Expand Down
2 changes: 2 additions & 0 deletions public/js/zen-mode/zen-mode.controller.js
Expand Up @@ -41,6 +41,8 @@ module.exports =
require('../documents/theme-dillinger');

vm.zen = ace.edit('zen');
vm.zen.getSession().setMode('ace/mode/markdown');
vm.zen.setTheme('ace/theme/dillinger');
vm.zen.getSession().setUseWrapMode(true);
vm.zen.renderer.setShowGutter(false);
vm.zen.setShowPrintMargin(false);
Expand Down

0 comments on commit bbfbd1c

Please sign in to comment.