@add_handler('bookmarks')
def qute_bookmarks(_url):
 bookmarks = sorted(objreg.get('bookmark-manager').marks.items(), key=(lambda x: x[1]))
 quickmarks = sorted(objreg.get('quickmark-manager').marks.items(), key=(lambda x: x[0]))
 html = jinja.render('bookmarks.html', title='Bookmarks', bookmarks=bookmarks, quickmarks=quickmarks)
 return ('text/html', html)

@ add_handler ( 'bookmarks' ) def qute_bookmarks ( _url ) : bookmarks = sorted ( objreg . get ( 'bookmark-manager' ) . marks . items ( ) , key = ( lambda x : x [ 1 ] ) ) quickmarks = sorted ( objreg . get ( 'quickmark-manager' ) . marks . items ( ) , key = ( lambda x : x [ 0 ] ) ) html = jinja . render ( 'bookmarks.html' , title = 'Bookmarks' , bookmarks = bookmarks , quickmarks = quickmarks ) return ( 'text/html' , html )
handler for qute:bookmarks .