(name, args = [], label)
| 50 | } |
| 51 | |
| 52 | function command(name, args = [], label) { |
| 53 | return { |
| 54 | type: 'command', |
| 55 | name, |
| 56 | arguments: args, |
| 57 | label, |
| 58 | source: `<!${name}${args.map((arg) => `^${arg}`).join('')}${ |
| 59 | label ? '|' + source(label) : '' |
| 60 | }>`, |
| 61 | }; |
| 62 | } |
| 63 | |
| 64 | function url(link, label) { |
| 65 | return { |
no test coverage detected