I have already posted a question[^] on CodeProject to get help in making multiple tabs for code in different languages. Sadly, I didn't get lucky to get an answer. I was trying to write an article, that contains code for different languages, merging them up into one having C++ in it caused an havoc, the C++ code is never merged into one tab, is always visible, and once clicked on the title "C++" the window scrolls down to the code block of C++.
But I found out, that the problem is with the title (lang="") having a value of C++, if I enter C+ it works, if I enter C, it works. But not when the value is C++ (or any other case of similar value). I have had put Java, VB.NET, C# in the tabs, so I think putting the C++ code as a C code would be an alternative until you guys fix it up.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Unfortunately the editor can get cranky with that. If you go into the HTML mode you can strip out the bad stuff. Or if you just don't want to deal with the editor email me and I would be happy to on your behalf. I've fixed the formatting for you on this one.
Are you using an add-in or extension that copies the code as HTML? (PowerCommands or something?) This is the issue because the code is no longer pure code, it's actually marked-up code, so pasting into a PRE block makes the editor think you're pasting a HTML sample, not a C# or C++ or whatever sample.
Simple solution is to use the "Paste as plain text" button. Top row of the article editor's toolbar, 4th icon along.
Thanks so much for explaining that.
I'm trying to figure out what I've done wrong in my bio.
I will try to fix it, but it must've been like this for a long time.
I haven't changed anything recently. Hmmm...
I thought that link to my site previously worked. I'll check it all out and fix it up.
The category Article Extension would imply to the reader that the post is relative to an Article authored by the same person who posts the extension (after all, anyone can post a tip/trick relative to any article or subject).
These Article Extensions would aggregate value to the original Article, without making it boring and massive.
Also, it'd be interesting if these Article Extensions could be listed (as links), automatically, at the end of the Article, in an appropriate place.