Support Request What are inline codes and inline spoilers?

Chris F

Staff Member
Media
Location
Hammerwich
They are ways to hide a spoiler by making the user have to click on it to reveal the word. Not really used much in the farming world, but are used a lot on gaming forums.

The answer to your question is
This is the answer
 
I see [or don't see?] that the inline spoiler works. What sort of code is meant to be used for the in-line job though?
The inline code feature is often used on technical forums discussing computer code to distinguish the code segments from the rest of the text. Computer code usually appears in a typewriter style font while it's being written in an editor and it's common to want to show it that way when asking for help or demonstrating something. I'd bet it's just a standard feature of whatever forum software TFF runs on.

For example: Suppose I'm writing a C function to find the product of two numbers and I'm having a problem with it. I can post the main function using the More Options -> Code button.
Code:
int find_product(int a, int b)
{
    product = a ** b;
    
    return product;
}

Then I can refer to a specific part using the More Options -> Inline Code button.

For example: Why does the line product = a**b not give me the result I want?
 

Cowabunga

Member
Location
Ceredigion,Wales
The inline code feature is often used on technical forums discussing computer code to distinguish the code segments from the rest of the text. Computer code usually appears in a typewriter style font while it's being written in an editor and it's common to want to show it that way when asking for help or demonstrating something. I'd bet it's just a standard feature of whatever forum software TFF runs on.

For example: Suppose I'm writing a C function to find the product of two numbers and I'm having a problem with it. I can post the main function using the More Options -> Code button.
Code:
int find_product(int a, int b)
{
    product = a ** b;
   
    return product;
}

Then I can refer to a specific part using the More Options -> Inline Code button.

For example: Why does the line product = a**b not give me the result I want?
I suspected it was pretty useless for forum posters and was something the forum programmers had forgotten to hide. Can see some use for the 'click to reveal' feature though.
 

CHAP Webinar - Innovative tools to overcome the challenges of Regen Ag

  • 365
  • 1
https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F186160299%2F486662465563%2F1%2Foriginal.20211115-160823


Applying principles of regen ag can incur a range of on-farm challenges. Learn how innovative tools & machinery can help with these hurdles.

This event will be held online from 1pm to 2pm on Thursday 2nd December 2021 so please block it out in your diary.

About this event​

Intro
This...
Top