Add wrap text option

Issue #35 new
Kirill Zhegulev created an issue

Could you please add wrap text option. It could be useful especially for {noformat}. We use it for command lines and they can be long and add horizontal scrolls

Comments (5)

  1. Holger Schimanski repo owner

    https://jira.atlassian.com/browse/CONF-22007 is closed with won't fix.

    The code and noformat macros have scrollbars because they are designed to accommodate preformatted text, for which we shouldn't insert additional line breaks.

    The warning, info, panel, etc. macros are designed for text, which should not have words longer than the width of a page. As you said in a private comment, this doesn't affect Asian languages, only Latin text.

    I don't think we're ever going to fix this, so I'm going to close as Won't-Fix.

    And similar feature request to have this as a parameter or config option for Confluence Code Macro https://jira.atlassian.com/browse/CONF-29784 is currently open.

  2. Holger Schimanski repo owner

    I am currently fixing #63 and by that removing "wrap" paramenter from code, because it was not working from CSS layout perspective anyhow.

  3. Log in to comment