Wrap Text In Code Block #2488
-
Checklist
How did you create the site?Generated from DescriptionI am trying to wrap the text inside of a code block. Operations you have already triedI have attemped to use Firefox's inspector tools to find out what css value I would want to overide, but have been unable to find one that actually causes the text to warp. Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Copy and paste
|
Beta Was this translation helpful? Give feedback.
Copy and paste
_layouts/post.html:Find a file named
post.htmllocated inside the_layoutsfolder and replace all of it's contents with this. Don't hesitate the file and folder if it does not already exist.--- layout: default refactor: true panel_includes: - toc tail_includes: - related-posts - post-nav script_includes: - comment --- {% include lang.html %} {% include toc-status.html %} <article class="px-1" data-toc="{{ enable_toc }}"> <header> <h1 data-toc-skip>{{ page.title }}</h1> {% if page.description %} <p class="post-desc fw-light mb-4">{{ page.description }}</p> {% endif %} <div class="post-meta text-muted"> <!-- published date --> <…