Status: New
Owner: Zoom.Quiet
Labels: Type-Enhancement Priority-Medium OpSys-All Component-UI Usability

New issue 40 by Zoom.Quiet: [suggest]html support SyntaxHighLighter
http://code.google.com/p/txt2tags/issues/detail?id=40

for support SyntaxHighlighter hope::
```
::brush: py
#147 line...
        self['entryext'] = ext
        self['filebasename'] = file_basename
```
        - so hacked class BlockMaster can auto generate include right
Syntax support code area!
        hacking:
        BlockMaster->def verb(self):
        ...
            #100420:zoomq   appended for usage SyntaxHighlighter
            if "::brush:" in result[1]:
                #print result[1][2:]
                result[0] = '<PRE class="%s">'%result[1][2:]
                result[1] = ""
                #print result[0]
            #TODO maybe use if not TAGS['blockVerbClose']

that all!
so when delpoy SyntaxHighlighter in site,can base t2t export HTML,
effect syntax color;-)

demo:
http://blog.zoomquiet.org/pyblosxom/techic/PyBlosxom/relivin-pyblosxom-2010-04-18-23-23.html#toc6R01YQ0JaV
t2t raw is:
http://blog.zoomquiet.org/pybnodes/techic/PyBlosxom/relivin-pyblosxom-2010-04-18-23-23.t2t



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to