Re: code blocks in blog posts
Georg Bauer <gb-BRhJDZTO+/[email protected]> Sat, 27 Mar 2004 20:40:04 +0100
| Newsgroups | gmane.comp.pythin.pyds.devel |
|---|---|
| Message-ID | <r02010100-1028-8BF18702802611D8A517000A9573A72A@[10.0.0.145]> |
Hi! > 1. After finally settling on <pre> to simplify some of the formatting, > there was one thing about <pre> I didn't > like, and that is that it seems to have a fixed width for lines entered. Yep, <pre> uses a monospaced font. Ugly, but usefull for source code. > 2. I had to manually replace the '<' and '>' with < and > every > time I edited the post. Hmm. They _shouldn't_ be recoded. But there are some weird situations where this might happen - maybe some problem with a browser. But there _may_ be still a bug that some textarea doesn't get properly encoded characters from PyDS. Where did you try to enter the code exactly? There were some of those problems in older versions, but I thought I fixed all. > I thought I recalled seeing mention on this list of a cheetah directive > called code-block, but couldn't find > enough on it to figure it out. Any pointers? If you have SilverCity installed, you can use .. code-block:: HyperText <html> ... </html> I've written a bit on the PyDS blog about this: http://pyds.muensterland.org/weblog/2004/01/26.html#P201 bye, Georg