mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-11-26 16:23:15 +07:00
Add markdown format support (#25)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This commit is contained in:
18
node_modules/showdown/test/node/cli.js
generated
vendored
Normal file
18
node_modules/showdown/test/node/cli.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
var semver = require('semver'),
|
||||
cmd = 'node bin/showdown.js';
|
||||
|
||||
describe('showdown cli', function () {
|
||||
'use strict';
|
||||
if (semver.gt(process.versions.node, '0.12.0')) {
|
||||
var execSync = require('child_process').execSync;
|
||||
it('basic stdin stdout', function () {
|
||||
var otp = execSync(cmd + ' makehtml -q', {
|
||||
encoding: 'utf8',
|
||||
input: '**foo**'
|
||||
});
|
||||
otp.trim().should.equal('<p><strong>foo</strong></p>');
|
||||
});
|
||||
}
|
||||
});
|
||||
*/
|
||||
Reference in New Issue
Block a user