nl_tokens: Serializer that recursively calls itself producing a hyperscript tree of spans
pl_tokens: function serializeSpan ( span , serializers , index , options ) { if ( span === '\n' && serializers . hardBreak ) { return h ( serializers . hardBreak , { key : ` ${ index } ` } ) } if ( typeof span === 'string' ) { return serializers . text ? h ( serializers . text , { key : ` ${ index } ` } , span ) : span } let children if ( span . children ) { children = { children : span . children . <mask> ( ( child , i ) => options . serializeNode ( child , i , span . children , true ) ) } } const serializedNode = objectAssign ( { } , span , children ) return h ( serializers . span , { key : span . _key || ` ${ index } ` , node : serializedNode , serializers } ) }