Skip to content

Commit

Permalink
fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
wodka committed Mar 4, 2016
1 parent 4480bcb commit 36d246e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slate.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = function (markup, template, includesLoader) {

// // marked doens't recognize "shell"?
markup = markup.replace(/```shell/gm, '```bash');
markup = markup.replace(/\n\r/gm, '\n');
markup = markup.replace(/\r\n/gm, '\n');
markup = markup.split(/(?:^|\n)---\n/g);

if (markup.length === 1) {
Expand Down

0 comments on commit 36d246e

Please sign in to comment.