digitalmars.D.announce - New Blog
- Pragma <ericanderton yahoo.removeme.com> Jul 27 2007
- Daniel Keep <daniel.keep.lists gmail.com> Jul 27 2007
- Pragma <ericanderton yahoo.removeme.com> Jul 30 2007
- Paul Findlay <r.lph50+d gmail.com> Aug 07 2007
- Pragma <ericanderton yahoo.removeme.com> Aug 08 2007
- Kirk McDonald <kirklin.mcdonald gmail.com> Jul 28 2007
- Pragma <ericanderton yahoo.removeme.com> Jul 30 2007
- "Anders Bergh" <anders1 gmail.com> Jul 28 2007
- Pragma <ericanderton yahoo.removeme.com> Jul 30 2007
- Pragma <ericanderton yahoo.removeme.com> Jul 30 2007
- Serg Kovrov <sergk mailinator.com> Jul 28 2007
- BCS <ao pathlink.com> Jul 29 2007
- "Anders Bergh" <anders1 gmail.com> Jul 30 2007
- =?ISO-8859-1?Q?Julio_C=E9sar_Carrascal_Urquijo?= Jul 31 2007
To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated. -- - EricAnderton at yahoo
Jul 27 2007
Pragma wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
Well, I don't know about WordPress, but I use Vim :) 1. Type D code. 2. :let html_use_css=1 3. :TOhtml 4. Copy + paste from new window ... what, you guys didn't think I coloured all that code by *hand*, did you? :P -- Daniel P.S. Welcome to D Nation :)
Jul 27 2007
Daniel Keep wrote:Pragma wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
Well, I don't know about WordPress, but I use Vim :) 1. Type D code. 2. :let html_use_css=1 3. :TOhtml 4. Copy + paste from new window
Any way to do the equivalent from the command line? Wordpress is php based, so WP can easly hand stuff off to VIM via exec(), were I to throw together a custom plugin. -- - EricAnderton at yahoo
Jul 30 2007
Any way to do the equivalent from the command line? Wordpress is php based, so WP can easly hand stuff off to VIM via exec(), were I to throw together a custom plugin.
http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-in-wordpress/ - Paul
Aug 07 2007
Paul Findlay wrote:Any way to do the equivalent from the command line? Wordpress is php based, so WP can easly hand stuff off to VIM via exec(), were I to throw together a custom plugin.
http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-in-wordpress/ - Paul
Awesome, thanks for the pro-tip. I'm going to have to try this. :) -- - EricAnderton at yahoo
Aug 08 2007
Pragma wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
I don't know about WordPress, but Pygments has pretty good D support (it's what dsource uses to highlight code): http://pygments.org/ You'll want to get the latest svn for the best D support. -- Kirk McDonald http://kirkmcdonald.blogspot.com Pyd: Connecting D and Python http://pyd.dsource.org
Jul 28 2007
Kirk McDonald wrote:Pragma wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
I don't know about WordPress, but Pygments has pretty good D support (it's what dsource uses to highlight code): http://pygments.org/ You'll want to get the latest svn for the best D support.
The pygments site seems to MIA, but I've seen it in action. I've also seen evidence of people getting this to work in conjunction with PHP and WP, so I might look into this. Thanks! -- - EricAnderton at yahoo
Jul 30 2007
On 7/27/07, Pragma <ericanderton internetdomains.us> wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated. -- - EricAnderton at yahoo
Added you to the list of feeds on the Planet (http://planet.dprogramming.com). -- Anders
Jul 28 2007
Anders Bergh wrote:On 7/27/07, Pragma <ericanderton internetdomains.us> wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated. -- - EricAnderton at yahoo
Added you to the list of feeds on the Planet (http://planet.dprogramming.com).
-- - EricAnderton at yahoo
Jul 30 2007
Anders Bergh wrote:On 7/27/07, Pragma <ericanderton internetdomains.us> wrote:To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated. -- - EricAnderton at yahoo
Added you to the list of feeds on the Planet (http://planet.dprogramming.com).
Anders, one thing: you might want to link to the RSS feed for the D category posts on my blog, rather than drink from the firehose: http://pragma.solaries.net/?feed=rss2&cat=6 (Wordpress kinda sucks since it doesn't give you a link for category feeds up-front... don't ask me why) I don't mind the extra exposure, but I dont't want to spam dplanet with all kinds of inane ramblings about non-D stuff. :) -- - EricAnderton at yahoo
Jul 30 2007
Pragma wrote:PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
I suggest to try "Highlight.js" - small javascript library to automatically highlight contents of <code> element. http://softwaremaniacs.org/soft/highlight/en/ It seems there is a wordpress plugin, although I cant imagine why it could be needed - installation and usage is nearly no-op. It doesn't have out-of-the-box support for D, but it's trivial to adopt C/C++ config for that. -- serg.
Jul 28 2007
Reply to Pragma,To those that are interested: I've started a new blog to help keep myself sane while working on stuff. http://pragma.solaries.net/ Its still very new (still sporting the default WP theme), but it's not going away anytime soon. :) PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
wrap the code in /*** ------------ code ---- */ run it through dmd with -D open the .html in a text editor and copy/paste.
Jul 29 2007
On 7/30/07, Pragma <ericanderton internetdomains.us> wrote:Anders, one thing: you might want to link to the RSS feed for the D category posts on my blog, rather than drink from the firehose: http://pragma.solaries.net/?feed=rss2&cat=6 (Wordpress kinda sucks since it doesn't give you a link for category feeds up-front... don't ask me why) I don't mind the extra exposure, but I dont't want to spam dplanet with all kinds of inane ramblings about non-D stuff. :)
Done. -- Anders
Jul 30 2007
Pragma wrote:PS, any help with setting up D syntax highlighting for WordPress would be appreciated.
I'm using Prettify on my blog (wordpress also). It does syntax highlighting for D (although it gets processed as Java). http://code.google.com/p/google-code-prettify/
Jul 31 2007









Pragma <ericanderton yahoo.removeme.com> 