# Pre-formatted text blocks rendering as italic

#### jms1

04 Nov, 2019 09:35 PM

I'm using the "Github" stylesheet that comes with Marked. After upgrading to 2.5.35(978), documents containing blocks of code within the triple-backtick construct are being rendered as italic rather than monospaced.

The same issue is also affecting a custom stylesheet that I created by copying and modifying the Github stylesheet.

Did something change, is this expected? If so, I'll have to figure out where in the stylesheet I need to override that. I use these triple-backtick constructs heavily, in many cases to show "screenshots", many of which require that columns "line up" from one line to the next, and this requires mono-spaced text.

1. Support Staff Posted by Brett on 04 Nov, 2019 10:09 PM

Try Preferences->Style->Style verbatim (code) blocks as poetry. It
should be unchecked.

-Brett

2. Posted by jms1 on 04 Nov, 2019 11:08 PM

That fixed it, thanks.

I don't recall ever seeing that preference before, let alone turning it on. Is this a new option in a recent version of Marked? If so, I think it might make sense for this option's default to be "off", especially when upgrading from a previous version.

Thanks again.

3. Support Staff Posted by Brett on 05 Nov, 2019 12:40 AM

It’s been there for years, and has always defaulted to off.

Thanks,
Brett

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

### »

#### Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

# Keyboard shortcuts

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 11 Nov, 2019 10:16 AM Add org mode support 06 Nov, 2019 04:09 PM Marked 2 is asking me to reregister after catalina upgrade 05 Nov, 2019 12:40 AM Pre-formatted text blocks rendering as italic 04 Nov, 2019 08:26 PM Marked 2 - Bear Preview 02 Nov, 2019 09:12 PM Crashes too often when editing MathJax

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)