MCPcopy
hub / github.com/evilstreak/markdown-js / make_list

Function make_list

lib/markdown.js:521–528  ·  view source on GitHub ↗
( m )

Source from the content-addressed store, hash-verified

519 if ( !m ) return undefined;
520
521 function make_list( m ) {
522 var list = bullet_list.exec( m[2] )
523 ? ["bulletlist"]
524 : ["numberlist"];
525
526 stack.push( { list: list, indent: m[1] } );
527 return list;
528 }
529
530
531 var stack = [], // Stack of lists for nesting.

Callers 1

markdown.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected