• 18
    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Currently inside of {html}, {code}, {noformat} tags, wiki parsing is not done - which is good for the most part as most people wouldn't expect it to be. However we use {noformat} to get the unispace font and nice boxing for example of console outputs - but would like to highlight certain areas (eg: text typed in as bold, using wiki *'s) ... we use the {html} tag just for advanced tabling, and still want to use normal style wiki lists and text formatting.

      It would be great if an option could be passed to these (either through global configuration, see CONF-1177, or through macro level option/variable passed) to enable/disable wiki parsing - if possible, even specify which categories should be enabled/disabled (macros, text formatting, tables, links, all etc).

      A conceptual work in progress in my mind, but you should get the drift of what Im looking for being able to do. Relies on CONF-1177 or similar to work fully.

            [CONFCLOUD-1179] Provide for monospace text with formatting

            For those who came here while looking for this feature, check for "code" under the "More formatting" dropdown just to the right of the Bold and Italic symbols and to the left of the paragraph alignment symbol in the editor.

            Benjamin Tiffany added a comment - For those who came here while looking for this feature, check for "code" under the "More formatting" dropdown just to the right of the Bold and Italic symbols and to the left of the paragraph alignment symbol in the editor.

            Mike Mitchell added a comment - - edited

            Why is this STILL not a feature?  Mono-spaced fonts are extremely useful for formattng documents that are clear and concise, especially when that document has tables of data.

            Tables are substantially easier to visually parse when mono-spaced fonts are used, and it doesn't make any sense to format an entire table as if it were a code block. 

            We're coming up on 20 years since this request was made.  Hard to believe this hasn't been addressed yet. 

            Mike Mitchell added a comment - - edited Why is this STILL not a feature?  Mono-spaced fonts are  extremely useful for formattng documents that are clear and concise, especially when that document has tables of data. Tables are substantially easier to visually parse when mono-spaced fonts are used, and it doesn't make any sense to format an entire table as if it were a code block.  We're coming up on 20 years since this request was made.  Hard to believe this hasn't been addressed yet. 

            19 years old feature request. Still relevant and awaiting a fix. 

            Sinchan Roy added a comment - 19 years old feature request. Still relevant and awaiting a fix. 

            Interesting that the comments here allow monospace with formatting but Confluence doesn't. A simple and extremely useful feature not implemented all these years? Sad.

            Akilan Ramachandran added a comment - Interesting that the comments here allow monospace with formatting but Confluence doesn't. A simple and extremely useful feature not implemented all these years? Sad.

            Hi all,

            I've created a plugin that lets you highlight parts of code or pre-formatted text which you want to highlight which should solve the problem discussed here. It is available here: https://marketplace.atlassian.com/apps/1222433/custom-code-highlight-for-confluence. Please let me know if this helps solve your issue or if there are features missing which you'd like,

            thanks,

            Matt 

            Matthew Grover added a comment - Hi all, I've created a plugin that lets you highlight parts of code or pre-formatted text which you want to highlight which should solve the problem discussed here. It is available here:  https://marketplace.atlassian.com/apps/1222433/custom-code-highlight-for-confluence . Please let me know if this helps solve your issue or if there are features missing which you'd like, thanks, Matt 

            The solution is simple. Don't use confluence for posting chunks of code.

            OutOfTheBox added a comment - The solution is simple. Don't use confluence for posting chunks of code.

            I found a (nasty) workaround for this that works for me. Say you want to post preformatted code and put some of the lines in bold, here is how I do it:

            1. edit the page and insert a code block with the code block macro; choose a language (I use Java) and show line numbers
            2. save the page and see the preformatted code without your bold lines
            3. copy the text inside the block to the clipboard
            4. edit the page again and paste the copied text in a simple paragraph
            5. the text is preformatted and highlighted, but your controls are still available so you can just select your lines and make them bold
            6. save your page and done

            This works because the first time you insert the code block the macro generates <div> elements for every line. Confluence interprets the outer block as preformatted, the code has corresponding   for the indentation. If you copy paste this from the html page, these elements are copied too, so the editor is confused and allows for markup such as bold.

            Tested in Confluence 5.6.1 #5635

            nick vanderhoven added a comment - I found a (nasty) workaround for this that works for me. Say you want to post preformatted code and put some of the lines in bold, here is how I do it: edit the page and insert a code block with the code block macro; choose a language (I use Java) and show line numbers save the page and see the preformatted code without your bold lines copy the text inside the block to the clipboard edit the page again and paste the copied text in a simple paragraph the text is preformatted and highlighted, but your controls are still available so you can just select your lines and make them bold save your page and done This works because the first time you insert the code block the macro generates <div> elements for every line. Confluence interprets the outer block as preformatted, the code has corresponding   for the indentation. If you copy paste this from the html page, these elements are copied too, so the editor is confused and allows for markup such as bold. Tested in Confluence 5.6.1 #5635

            For us, this would be useful for highlighting important parts of textual configuration files and log files, with the non-highlighted parts providing context.

            Mitchell Archibald added a comment - For us, this would be useful for highlighting important parts of textual configuration files and log files, with the non-highlighted parts providing context.

            elucify added a comment -

            Frustrating that this ticket hasn't been implemented. The ability to emphasize code in context is really important for coding documentation.

            elucify added a comment - Frustrating that this ticket hasn't been implemented. The ability to emphasize code in context is really important for coding documentation.

            Eitam Doodai added a comment - - edited

            I'd like to add some Oil to this fire, oil incoming
            I also would love this feature, I want to provide console output and insert my own captions between the lines in Red Bold.
            The output must be in monospace.

            An alternative to what people are requesting here could be :
            Allow the {panel} element to force a font. For example : {panel:font=monospace}

            Or, why does text doesn't produce the required result when used across multiple lines? (Also in this line I tried escaping some chars but it doesn't work as it should )

            Anyhow, I think this needs to be resolved.

            Eitam Doodai added a comment - - edited I'd like to add some Oil to this fire, oil incoming I also would love this feature, I want to provide console output and insert my own captions between the lines in Red Bold. The output must be in monospace. An alternative to what people are requesting here could be : Allow the {panel} element to force a font. For example : {panel:font=monospace} Or, why does text doesn't produce the required result when used across multiple lines? (Also in this line I tried escaping some chars but it doesn't work as it should ) Anyhow, I think this needs to be resolved.

              Unassigned Unassigned
              dhardiker Dan Hardiker
              Votes:
              140 Vote for this issue
              Watchers:
              59 Start watching this issue

                Created:
                Updated: