.markdown { word-wrap: break-word; overflow-wrap: break-word; } .markdown p:last-child { margin-bottom: 0; } /* Streaming cursor that blinks at the end */ .streamingCursor { display: inline-block; width: 0.5em; height: 1em; background-color: currentColor; margin-left: 2px; animation: blink 1s step-end infinite; vertical-align: text-bottom; opacity: 0.7; } @keyframes blink { 0%, 100% { opacity: 0.7; } 50% { opacity: 0; } } .preWrapper { margin: 0.5em 0; } .codeBlock { display: block; white-space: pre-wrap; word-break: break-word; max-width: 100%; overflow-x: auto; }