This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "clean", | |
//takes: {"what": noun_arb_text}, | |
//modifiers: {with: noun_arb_text, in: noun_arb_text}, | |
preview: function( pblock, what, mods ) { | |
// args contains .with and .in, both of which are input objects. | |
//var msg = 'Cleans"{$what}" with {$with} in {$in}.'; | |
var msg = 'Cleans extra lines, headers and HRs.'; | |
//var subs = {what: what.text, with: mods.with.text, in: mods.in.text}; |