mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-05-06 17:30:35 +07:00
Add markdown format support (#25)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This commit is contained in:
11
node_modules/showdown/src/subParsers/ellipsis.js
generated
vendored
Normal file
11
node_modules/showdown/src/subParsers/ellipsis.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
showdown.subParser('ellipsis', function (text, options, globals) {
|
||||
'use strict';
|
||||
|
||||
text = globals.converter._dispatch('ellipsis.before', text, options, globals);
|
||||
|
||||
text = text.replace(/\.\.\./g, '…');
|
||||
|
||||
text = globals.converter._dispatch('ellipsis.after', text, options, globals);
|
||||
|
||||
return text;
|
||||
});
|
||||
Reference in New Issue
Block a user