diff --git a/dist/showdown.js b/dist/showdown.js index 7a4413a..26fdce8 100644 Binary files a/dist/showdown.js and b/dist/showdown.js differ diff --git a/dist/showdown.min.js b/dist/showdown.min.js index a1f12a9..2cfc369 100644 Binary files a/dist/showdown.min.js and b/dist/showdown.min.js differ diff --git a/test/features/enable-literalMidWordAsterisks.html b/test/features/literalMidWordAsterisks/basic.html similarity index 100% rename from test/features/enable-literalMidWordAsterisks.html rename to test/features/literalMidWordAsterisks/basic.html diff --git a/test/features/enable-literalMidWordAsterisks.md b/test/features/literalMidWordAsterisks/basic.md similarity index 100% rename from test/features/enable-literalMidWordAsterisks.md rename to test/features/literalMidWordAsterisks/basic.md diff --git a/test/node/testsuite.features.js b/test/node/testsuite.features.js index 4a4dc5f..5b0a4ac 100644 --- a/test/node/testsuite.features.js +++ b/test/node/testsuite.features.js @@ -12,7 +12,8 @@ var bootstrap = require('../bootstrap.js'), rawHeaderIdSuite = bootstrap.getTestSuite('test/features/rawHeaderId/'), rawPrefixHeaderIdSuite = bootstrap.getTestSuite('test/features/rawPrefixHeaderId/'), emojisSuite = bootstrap.getTestSuite('test/features/emojis/'), - underlineSuite = bootstrap.getTestSuite('test/features/underline/'); + underlineSuite = bootstrap.getTestSuite('test/features/underline/'), + literalMidWordAsterisksSuite = bootstrap.getTestSuite('test/features/literalMidWordAsterisks/'); describe('makeHtml() features testsuite', function () { 'use strict'; @@ -196,8 +197,8 @@ describe('makeHtml() features testsuite', function () { } }); - /** test emojis support **/ - describe('emojis support', function () { + /** test underline support **/ + describe('underline support', function () { var converter, suite = underlineSuite; for (var i = 0; i < suite.length; ++i) { @@ -209,4 +210,14 @@ describe('makeHtml() features testsuite', function () { it(suite[i].name.replace(/-/g, ' '), assertion(suite[i], converter)); } }); + + /** test literalMidWordAsterisks option **/ + describe('literalMidWordAsterisks option', function () { + var converter, + suite = literalMidWordAsterisksSuite; + for (var i = 0; i < suite.length; ++i) { + converter = new showdown.Converter({literalMidWordAsterisks: true}); + it(suite[i].name.replace(/-/g, ' '), assertion(suite[i], converter)); + } + }); });