Inline code formatting

#1

Code blocks are the bees knees, but I would love some inline code formatting.

#2

Hey @Joseph_Gilley - we’ve got it for ya! Put your code snippet in single quotes and press space to see it in action:

1 Like
#3

oho! you sure do. BUT, what about inline code formatting for text formatted table cells?

image

#4

We’ve got that too! Make sure you hit the space after typing to commit the code block:

1 Like
#5

oh my goodness, look at all that egg on my face! very nice, thank you!

#6

All good! Helpful feedback as we try to make this more discoverable :slight_smile:

#7

Is it just me, or is this functionality a bit spotty? I can sometimes use it, but sometimes it doesn’t work. I can’t detect a consistent pattern - it sometimes works in bullet lists, sometimes doesn’t. Sometimes works at the top level of a document, sometimes doesn’t. This snippet for instance I can’t get to work in any context I mentioned:

/my-thank-you.html

whereas this one seemed to work in most places:

curl -v https://sitename.netlify.com -o /dev/null

1 Like