Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Commit

Permalink
Fixes #1 sub and sup rendering as ordinary text
Browse files Browse the repository at this point in the history
  • Loading branch information
pwlmaciejewski committed Jan 7, 2014
1 parent 030c2a9 commit 8e30dfb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions template/style.css
Expand Up @@ -46,6 +46,15 @@ table {
border-collapse: collapse;
border-spacing: 0;
}
sup {
vertical-align: super;
font-size: smaller;
}

sub {
vertical-align: sub;
font-size: smaller;
}

/* Generic styles */
body {
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -44,7 +44,7 @@ exports.help = function (test) {
});
};

exports.style = function (test) {
exports.script = function (test) {
mdhtml(['--script', __dirname + '/fixture/script.js', __dirname + '/fixture/basic.md'], function (err, stdout, stderr) {
test.notEqual(stdout.search('custom script'), -1, 'It should use user-specified script');
test.done();
Expand Down

0 comments on commit 8e30dfb

Please sign in to comment.