4 ms·
Is there a way to quickly mark a block as code? Because whatever nice feature it has are completely rendered irrelevant by this lack.
by himinlomax 5y ago
Is there a way to quickly mark a block as code? Because whatever nice feature it has are completely rendered irrelevant by this lack.
- justin_oaks 5y agoIn Confluence you use the {code} macro.
- kilobaud 5y agoOr use markdown backticks e.g. ```
- deathanatos 5y agoConfluence's code blocks are hot garbage: * Selecting a language on one code block changes the languages for other code blocks on the same page, sometimes. (I've not figured out the exact conditions on this one yet.) * Whitespace is not preserved / rendered the same as the editor; we have several Confluence pages with YAML where the rendered version won't parse, but it looks fine in the editor. Give me Markdown in git any day.
- Riverheart 5y agoDunno about all that but it doesn't support inline code snippets. You've gotta use formatted text, which doesn't look good. Seems like an intern project at best.
- CRConrad 5y agoHuh? What do you mean, isn't Ordinary text blah blah {{interspersed code snippet}} some more ordinary blah blah text working, or haven't you tried it?
- Riverheart 5y agoJust haven't tried it, didn't mean to imply they were false.
- CRConrad 5y agoYa gotta use the mark-up text tab to write, and only switch over to the other one ("visual" something?) to check that it looks OK. Always annoys the heck outta me when I forget to switch back before submitting my comment. It remembers, and gives me the same tab next time I start to comment on any ticket.