0

Hi,

With FB 7.x, I wrote a BugMonkey script that converts a bugevent (case entry) strings in between <code> </code> to a monospace font - and remove the <code> </code> tags of course.

Now with FB 8.0 and the "Code Snippets" plugin, [code] is converted and syntax highlight, which is nice, but we have a lot of cases that have <code> instead of [code].Rather than doing some SQL kung fu to change these, can I ask:

  1. At minimum, have the plugin also handle <code> and </code>?
  2. Later, have the ability to specify which tags to search and convert into monospace.

FogCreek, I didn't want to pile on to http://fogbugz.stackexchange.com/questions/5103/code-snippets-plugin-improvements but let me know if I should in the future.

Thanks

BTW, even as I write this question, the editor converts <code>into monospace, and I had to escape it :-)

Fog Creek Case FC1966717

flag

1 Answer

1

That's a great suggestion, Totem! Thanks for suggesting it.

I've filed a case internally to consider adding this functionality to a future version of the plugin.

link|flag
Thanks db. While I have you here, what languages besides C/C++ are supported (syntax highlighting)? – Totem Nov 1 2010 at 20:20
The Code Snippets plugin uses Google's prettify.js library which supports a wide range of langauges: code.google.com/p/google-code-prettify – db Nov 2 2010 at 0:59

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.