Inline code formatting

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

1 Like

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

3 Likes

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

image

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

1 Like

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

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

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

This isn’t working for me. :frowning:

I can’t get the inline code trick to work. Does Coda still allow this?

It still works for me. In a text table cell you can’t start with this backtick (backquote) (it gives you a ‘dead’ text), but if you start with a space and then backtick it still works.
You have to use the right backtick though (top left on many US keyboards).

I got it working now. It was my error. I was using a single quote instead of the backquote.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.