mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-05-06 17:30:35 +07:00
12 lines
308 B
JavaScript
12 lines
308 B
JavaScript
|
|
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;
|
||
|
|
});
|