|
I have been wrestling with the article submission wizard for some days in an attempt to post my debut article.
Mostly its going OK albeit slowly but I am having real difficulty with code snippets. I just want to copy some C# code from VS2010 and paste it into the article. I want to keep the formatting (indentation). I cannot seem to work this out.
It seems I need to copy the code - paste it as text - manually do all the formatting and then surround it with the language formatting tags using the wizard.
I have searched the site to no avail so could somebody either point me to the appropriate link or give me a few tips on how to do this.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
Switch to HTML view and insert the pre tags manually and then insert the copied code.
Edit:
When you have done all that you can now switch out of HTML mode.
modified 17-Jun-14 4:46am.
|
|
|
|
|
Many thanks. It works perfectly.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
Yes I found that out the hard way
|
|
|
|
|
Copy in the code. Select the new block then press the 'clean formatting' button (looks like a flag). Select 'formatted' from the format drop-down. Select the language from the language drop-down...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Thanks. In the current wizard the flag icon is Anchor. The way you suggest is how I would have thought it should work but for some reason not for me. I have it solved now using the HTML view.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
My wrong - next to the flag. Looks like this: Tx
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Yes I have actually used that method. There may be a bug. As I have a way forward I will look into this later.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
Well, I had problems before with this function. It seem to divide the code blocks with white lines inside the coherent code block. This made me sware quite often so I did the HTML variant.
|
|
|
|
|
It seem the editor has personal feelings... I just did again to check - copy/paste from VS, select the text, hit Tx to clean VS formatting, select language. Done... HTML text editors are funny things...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Well, I guess I have to give it a go for the next article then
|
|
|
|
|
I use Visual Studio to create the content as a HTML page, and then copy paste it into the wizard. Fast and easy, and I don't have problems with CP's interpretation of what my markup means.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I write my articles in Notepad. Seriously. Best avoid the online thingy.
You'll never get very far if all you do is follow instructions.
|
|
|
|
|
Take a look at this picture[^]. There really can't be any doubt that he is giving the referee the finger, or rather fingers as two makes it plural. But I realize now that I'm not a professional football player, and theres a perfectly reasonable explanation.
"The Portuguese football federation (FPF) reiterates that there was no gesture directed to the match referee and regrets the speculation which would seriously damage the interests of the player and the national team," they said a statement.
"The FPF clarifies that the gesture, which has been misinterpreted, was directed at team mate Bruno Alves and merely indicated instructions from coach Paulo Bento. Raul Meireles was just explaining that he would drop back to the position of central defender, playing on the right of the defence."
So, I guess the coach has some foul language when he explains his tactics; although that is not unusual in football
WCMOTD = World Cup Moment of the day
|
|
|
|
|
It seems simple to me, I think somebody asked him if he wants a Milk or Dark Choc-Ice at half time and he's simply explaining that he would like one of each.
PS that's sarcasm in case any one is not sure!
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
I think he would like two yellow cards at once
|
|
|
|
|
You have to look very closely at the picture but it is not the finger typically referred to as "the finger" being extended... it is the index finger.
(Universal football sign for "tighten-up the marking"... and from the result you have to say, he had a point )
modified 17-Jun-14 5:00am.
|
|
|
|
|
|
<Add imagination>
NO!
</Add imagination>
|
|
|
|
|
Nah, he is just giving the universal symbol for peace. Just with the wrong 2 fingers
Microsoft ... the only place where VARIANT_TRUE != true
modified 17-Jun-14 6:41am.
|
|
|
|
|
Technically, one of the fingers he used for peace was correct. The other one needs to be on the same hand as its sibling.
|
|
|
|
|
Why did no one tell that we have changed the gesture? Since when are we supposed to use index finger?
BTW, it was a pathetic game. I support Portugal but would have settled for loss had they showed some desire to win and played like a team.
|
|
|
|
|
Portugal were bad especially in attack, and the defending was appalling. Germany on the other hand played reasonably well and was quite effective in front of the goal, and it wouldn't surprise me if they get to the final or even possibly win the whole thing.
|
|
|
|
|
Portugal did got few chances in first half and I think one in second. They messed it up though. For defense, I am not sure which game you were watching. There was no defense IMHO. The way Germany as played during games before WC, they are favorites. The have amazingly good bench strength as well.
|
|
|
|
|
*cough* were playing 11 vs. 10.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|