New 4.1 editor: How to do {note} {code} and other tags?
Asked by samjones6:

We use confluence 3.1, love it, gliffy, all the trimmings!

Loooking at the 4.x editor.... how the heck do we do {note} {code} {warning} and all the other tasty tags we have used for years in confluence? (they were out of box ...)

From the keyboard, not from a menu or button...

Thanks!


Answers:
author: Ellen Feaheny [AppFusions]
body: Hi Sam -

You just type in the Wiki code - and they pop up for you so you can enter your note/code, etc text.

See this - plethora of answers and video to see in action:

<http://confluence.atlassian.com/display/DOC/Planning+for+Confluence+4.0>

Try it yourself here in the sandbox:

<http://sandbox.onconfluence.com/dashboard.action>

Specific to 4.1:

<http://www.atlassian.com/de/edit-like-a-pro-confluence-41-released>

Hope that gets you going !

Best,

Ellen

p.s.

For your upgrade - do review the upgrade and release notes:

<http://confluence.atlassian.com/display/DOC/Upgrade+Notes+Overview>

<http://confluence.atlassian.com/display/DOC/Confluence+Release+Summary>

(as well as the specific release notes in same area)

comments: author: samjones6
body: \>\> You just type in the Wiki code - and they pop up for you so you can enter your note/code, etc text.

Ummmm, I tried that on the confluence 4.1 sandbox and it did not work at all. Doing the normal wiki text stuff, like h2. and \*\* all worked like that, but the {} type tags did not work at all. Ergo my question!


author: Andrew Frayling
body: Hi Sam,

You don't have to use Insert -\> Wiki Markup, you just have to not close the tags with a closing }. If you type {note the autocomplete will kick in and you'll get the Note macro offered as a macro suggestion with a placeholder to enter the text for the body of the note, but if you type {note} the editor treats it as a literal and you just get {note} as plain text in the editor rather than a macro. Same for {warning}, {info}, etc.

Hope that makes sense.

Andrew.


author: samjones6
body: I see now, I have to do the Insert \| Wiki Markup.

Rather a pita to introduce a multiple new clicks to something I do 100 times a day...


author: Matt
body: Hey @Andrew Frayling and @samjones6 -- when Confluence 4.1.2 is made available in the next few weeks - you'll find some nice improvements to Autoformatting when working with macros. When you close a macro with }, Confluence automagically inserts the macro in the page for you. You can even define macro parameters like this...

<http://screencast.com/t/WW9nMOvYPv>

Note: You can't see it in the video but typing } triggers the autoformatting magic.  


author: samjones6
body: What Andrew said!! Not intuitive, but it does work!

Cool!


author: Ellen Feaheny [AppFusions]
body: Sam - here's a pretty pointed video on the topic:

[http://www.youtube.com/watch?v=h77zmZwFWS4\&feature=player_embedded](http://www.youtube.com/watch?v=h77zmZwFWS4&feature=player_embedded)

Forgot abt this - but was in Atlassian's today posted blog.

<http://blogs.atlassian.com/2011/12/highlights-of-confluence-wiki-in-2011>


author: Ellen Feaheny [AppFusions]
body: Yep - what Andrew said! :)


author: Ellen Feaheny [AppFusions]
body: Yep - what Andrew said! :)