Monospaced Font w/out Syntax Highlighting in Github Flavored Markdown
Asked Answered
B

1

13

The title pretty much says it all: I'd like to write a paragraph in monospaced font using GFM, but without any programming language's syntax highlighting. I'd think it would be

```txt

or

```text

or maybe nothing:

```

But no luck. Is this even possible with GFM?

Bysshe answered 22/10, 2013 at 12:46 Comment(2)
Better for either Web Apps (since it has nothing to do with coding) or direct to GitHub:SupportPoucher
This also doesn't work in gitter ... awful when trying to paste compiler messages.Wille
Z
10

Try indenting with four spaces (i.e. a normal markdown code block) rather than using a fenced code block. This worked for me in GitLab. In GitHub just ``` worked.

Zachery answered 5/12, 2013 at 10:2 Comment(2)
It appears to be working, now... Not sure what was happening.Bysshe
Sure would have been nice if they (Github) hadn't borked the tt tag. :(Isis

© 2022 - 2024 — McMap. All rights reserved.