How to include/ write the example code when I submit a quest

web
mobile

Topic: How to include/ write the example code when I submit a question to the support team?

cokicoki pro premium asked 4 months ago

Hi,

How to include the example code when I submit a question to the support team? Like the example below!

I have tried with this tag (pre or code) but fail. What is exactly to write the code so it looks like this below? Kindly please show me how to write it.Thank you.

enter image description here


Konrad Stępień staff answered 4 months ago

Hi @cokicoki,

If you want send part of your code in the answer, you have to paste your code after space/tabulator

Like this
NextLine
if(you want paste make something like this){
    You have to add more space
}

Try this!

or write some text on your textarea and select text, then you can click this button:

Text


cokicoki pro premium answered 4 months ago

Hi Konrad,

Yes, I tried and It worked. Thank you.


Konrad Stępień staff commented 4 months ago

Nice! No problem :)


Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: React
  • MDB Version: 4.23.0
  • Device: desktop
  • Browser: Mozilla Firefox
  • OS: MS Windows 7
  • Provided sample code: No
  • Provided link: No