Your blog is great. You always have really good content (and I hate to sound like i'm advertising), but maybe you should try a teeny web app I wrote called blogtrog CodeWindow. Then you can stop pasting images of the code.
http://www.blogtrog.com/
I kind of like how you post images, it keeps all the syntax highlighting intact so it's easier to read. Web based code highlighting systems will never be as good as an IDE, they simply don't have all the contextual details available.
I also think you should not be using images. The code cannot be indexed for search, it requires more network resources (think mobile clients) and quality is lost when changing size (think mobile clients and the visually impaired).
(I hate it that we've taken this off the post's original topic...) I've tried a bunch of other syntax highlighting solutions on my own blog, and it seems they all have various problems or don't look correct when posted up to blogger. That's why I wrote BlogTrog CodeWindow. It includes the highlighted text for blogs or folks with no javascript, and then for the rest, they get the fancy "Code Window" with the ability to get the plain text and print.
If you can get the WLW plug-ins to work properly with your blog, that would probably be easier, although your readers won't be able to copy/paste in most cases. Actual "Copy to Clipboard" functionality doesn't work very reliably these days. :-( But at least there's a plain text option.
Comment preview
Comments have been closed on this topic.
Markdown formatting
ESC to close
Markdown turns plain text formatting into fancy HTML formatting.
Phrase Emphasis
*italic* **bold**
_italic_ __bold__
Links
Inline:
An [example](http://url.com/ "Title")
Reference-style labels (titles are optional):
An [example][id]. Then, anywhere
else in the doc, define the link:
[id]: http://example.com/ "Title"
> Email-style angle brackets
> are used for blockquotes.
> > And, they can be nested.
> #### Headers in blockquotes
>
> * You can quote a list.
> * Etc.
Horizontal Rules
Three or more dashes or asterisks:
---
* * *
- - - -
Manual Line Breaks
End a line with two or more spaces:
Roses are red,
Violets are blue.
Fenced Code Blocks
Code blocks delimited by 3 or more backticks or tildas:
```
This is a preformatted
code block
```
Header IDs
Set the id of headings with {#<id>} at end of heading line:
## My Heading {#myheading}
Tables
Fruit |Color
---------|----------
Apples |Red
Pears |Green
Bananas |Yellow
Definition Lists
Term 1
: Definition 1
Term 2
: Definition 2
Footnotes
Body text with a footnote [^1]
[^1]: Footnote text here
Comments
Your blog is great. You always have really good content (and I hate to sound like i'm advertising), but maybe you should try a teeny web app I wrote called blogtrog CodeWindow. Then you can stop pasting images of the code. http://www.blogtrog.com/
I kind of like how you post images, it keeps all the syntax highlighting intact so it's easier to read. Web based code highlighting systems will never be as good as an IDE, they simply don't have all the contextual details available.
I also think you should not be using images. The code cannot be indexed for search, it requires more network resources (think mobile clients) and quality is lost when changing size (think mobile clients and the visually impaired).
You could use an open source syntax highlighter:
http://code.google.com/p/syntaxhighlighter/
It is nice since it will render as normal text if no javascript is found on the client.
Check out Scott Hanselman's post on it: www.hanselman.com/.../...orSnippetsInYourBlog.aspx
(I hate it that we've taken this off the post's original topic...) I've tried a bunch of other syntax highlighting solutions on my own blog, and it seems they all have various problems or don't look correct when posted up to blogger. That's why I wrote BlogTrog CodeWindow. It includes the highlighted text for blogs or folks with no javascript, and then for the rest, they get the fancy "Code Window" with the ability to get the plain text and print.
If you can get the WLW plug-ins to work properly with your blog, that would probably be easier, although your readers won't be able to copy/paste in most cases. Actual "Copy to Clipboard" functionality doesn't work very reliably these days. :-( But at least there's a plain text option.
Comment preview