0

I tried a couple different ways enter code here. I tried putting it in between the apostrophe's. I tried putting it in front of the enter code here

2

1 Answer 1

1

If you want code inline like this text, you can enclose the text in back ticks '`', not apostrophes.

If you want to have a code block, you add four spaces before the text like:

this is a code block
on several lines
to be sure you can add an empty line before and after the codee block because 
some elements conflict with the code block
causeing the markup to fail.

In addition, you can also use the <code> tag. Both for Inline code and for:

A code block enclosed in tags.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .