Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggest]html support SyntaxHighLighter #40

Open
GoogleCodeExporter opened this issue Apr 18, 2015 · 1 comment
Open

[suggest]html support SyntaxHighLighter #40

GoogleCodeExporter opened this issue Apr 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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-1
8-23-23.html#toc6R01YQ0JaV
t2t raw is:
http://blog.zoomquiet.org/pybnodes/techic/PyBlosxom/relivin-pyblosxom-2010-04-18
-23-23.t2t

Original issue reported on code.google.com by Zoom.Quiet on 3 Aug 2010 at 3:13

@GoogleCodeExporter
Copy link
Author

It will be cool. But for me also will be good to support 
wiki: <source lang="python">
and wordpress: [sourcecode language="python"]


Original comment by tbunyk on 28 Nov 2010 at 2:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant