インフラストラクチャーと管理

クラウドコンピューティング

ストレージ

ランタイム

統合および自動化

  • Comments
  • Missing whitespace formatting for pre elements in ePub documents

    掲載日

    The ePub version of documentation doesn't contain any whitespace formatting for

    pre
    elements, which by default don't apply any line wrapping. This results in code snippets overflow out of the screen on a ebook reader. The only way to display full snippet is to decrease font size and change page orientation to landscape.

    To remedy this a single rule needs to be added to epub.css file to apply wrapping:

    pre {
      white-space: pre-wrap;
    }
    

    The XSLT used to produce the ePub version of docs needs to be adjusted to incorporate that formatting.

    投稿者

    ポイント

    応答

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    クイックリンク

    ヘルプ

    サイト情報

    他の Red Hat サイト

    © 2026 Red Hat