Skip to content

Commit

Permalink
Merge pull request #8 from OiYouYeahYou/master
Browse files Browse the repository at this point in the history
Custom Tab Width
  • Loading branch information
nobuhito committed Jan 7, 2017
2 parents f988c2d + 2b98ca8 commit 935a2f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/export-html.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ module.exports = ExportHtml =
word-break: keep-all;
#{atom.config.get("export-html.lineNumber.styles")};
}
pre {
tab-size: #{atom.config.get("export-html.tabWidth")};
}
</style>
</head>
<body>
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
"default": "opacity: 0.5;"
}
}
}
},
"tabWidth": {
"type": "integer",
"default": 4
}
},
"main": "./lib/export-html",
"version": "3.0.0",
Expand Down

0 comments on commit 935a2f4

Please sign in to comment.