Skip to content

Commit

Permalink
Merge pull request #173 from alirezas/master
Browse files Browse the repository at this point in the history
Fix code tag in markdown exporting
  • Loading branch information
sofish committed Aug 27, 2016
2 parents 047c542 + 0f06b3d commit ce22943
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pen.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@
li: [/<(li)\b[^>]*>(.*?)<\/\1>/ig, '* $2\n'],
blockquote: [/<(blockquote)\b[^>]*>(.*?)<\/\1>/ig, '\n> $2\n'],
pre: [/<pre\b[^>]*>(.*?)<\/pre>/ig, '\n```\n$1\n```\n'],
code: [/<code\b[^>]*>(.*?)<\/code>/ig, '\n`\n$1\n`\n'],
p: [/<p\b[^>]*>(.*?)<\/p>/ig, '\n$1\n'],
hr: [/<hr\b[^>]*>/ig, '\n---\n']
};
Expand Down

0 comments on commit ce22943

Please sign in to comment.