nl_tokens: Renders a list of snapshots up to specified limit of lines
pl_tokens: function formatSnapshotList ( list , limit ) { limit = ( typeof limit != 'undefined' ) ? <mask> : - 1 ; const limitedList = limit > 0 ? list . slice ( 0 , limit ) : list ; const hasMore = list . length > limitedList . length ; const buildList = ( snapshots ) => snapshots . map ( ( s ) => s . join ( ' > ' ) ) . join ( '\n' ) ; if ( hasMore ) { return buildList ( limitedList . slice ( 0 , - 1 ) ) + ` \n ${ list . length - limitedList . length + 1 } ` ; } return buildList ( limitedList ) ; }