digitalmars.D.announce - New Blog
- Pragma (6/6) Jul 27 2007 To those that are interested: I've started a new blog to help keep mysel...
- Daniel Keep (10/20) Jul 27 2007 Well, I don't know about WordPress, but I use Vim :)
- Pragma (5/23) Jul 30 2007 Any way to do the equivalent from the command line? Wordpress is php ba...
- Paul Findlay (3/6) Aug 07 2007 Use Pygments (http://pygments.org/languages/) in Wordpress:
- Pragma (4/11) Aug 08 2007 Awesome, thanks for the pro-tip. I'm going to have to try this. :)
- Kirk McDonald (10/20) Jul 28 2007 I don't know about WordPress, but Pygments has pretty good D support
- Pragma (5/24) Jul 30 2007 The pygments site seems to MIA, but I've seen it in action. I've also s...
- Anders Bergh (4/10) Jul 28 2007 Added you to the list of feeds on the Planet (http://planet.dprogramming...
- Pragma (4/18) Jul 30 2007 Outstanding, thank you.
- Pragma (7/21) Jul 30 2007 Anders, one thing: you might want to link to the RSS feed for the D cate...
- Anders Bergh (4/8) Jul 30 2007 Done.
- Serg Kovrov (10/12) Jul 28 2007 I suggest to try "Highlight.js" - small javascript library to
- BCS (9/20) Jul 29 2007 wrap the code in
- =?ISO-8859-1?Q?Julio_C=E9sar_Carrascal_Urquijo?= (4/6) Jul 31 2007 I'm using Prettify on my blog (wordpress also). It does syntax
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: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 yahooTo 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
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.Use Pygments (http://pygments.org/languages/) in Wordpress: http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-in-wordpress/ - Paul
Aug 07 2007
Paul Findlay wrote:Awesome, thanks for the pro-tip. I'm going to have to try this. :) -- - EricAnderton at yahooAny 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.Use Pygments (http://pygments.org/languages/) in Wordpress: http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-in-wordpress/ - Paul
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: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 yahooTo 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.
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 yahooAdded 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:Outstanding, thank you. -- - EricAnderton at yahooTo 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 yahooAdded you to the list of feeds on the Planet (http://planet.dprogramming.com).
Jul 30 2007
Anders Bergh wrote:On 7/27/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. :) -- - EricAnderton at yahooTo 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 yahooAdded you to the list of feeds on the Planet (http://planet.dprogramming.com).
Jul 30 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 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
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