Jump to content

When posting code on this forum you can click on the </&g...


Steven Hall

Recommended Posts

When posting code on this forum you can click on the </> button in the tool bar, or simply indent each line of code by 4 spaces.

 

This will look much cleaner and clearly identify the code.

Example:

TABLE FILE car

SUM SALES

BY COUNTRY

BY CAR

ON TABLE PCHOLD FORMAT HTML

END

 

Since this new forum supports Markdown, the easiest way is to just use a triple back-tick on one line, all the code below it and then a triple back-tick to close the code-block. this method even has some syntax highlighting:

This syntax:

 

Produces this:

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Document</title>

</head>

<body>

</body>

</html>

 

Also, if you want to post a particular code keyword in a sentence, just surround that with single back-ticks ( ` )

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...