korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
hgext
/
highlight
/
Upload FileeE
HOME
� Hq�Qc @ sr d Z d d l Z d d l m Z m Z m Z d d l m Z m Z d Z d � Z d � Z d � Z d � Z d S( s� syntax highlighting for hgweb (requires Pygments) It depends on the Pygments syntax highlighting library: http://pygments.org/ There is a single configuration option:: [web] pygments_style = <style> The default is 'colorful'. i����N( t webcommandst webutilt common( t extensionst encodingt internalc C sh d j | d d t j �� } d | k rX | j d d d � } t j d | | | � n | | | | � S( Nt t mimetypeR t htmlt webt pygments_stylet colorfult fileline( t joinR t configt highlightt pygmentize( t origR t tmplt fctxt mtt style( ( s>