0
\$\begingroup\$

I'm trying to post somethings in LibGdx code format in this site (I'm new here), but I can't do it...

Can anybody help me, please?

\$\endgroup\$

migrated from gamedev.stackexchange.com Dec 21 '17 at 23:23

This question came from our site for professional and independent game developers.

  • \$\begingroup\$ Ctrl-K will indent code and create a code block. \$\endgroup\$ – Draco18s Dec 21 '17 at 23:22
  • \$\begingroup\$ Thank you for your reply... \$\endgroup\$ – BeginnerDev Dec 21 '17 at 23:34
  • \$\begingroup\$ But I didn't understand how it work... \$\endgroup\$ – BeginnerDev Dec 21 '17 at 23:34
  • \$\begingroup\$ What do I do if I'm not using a desktop??? \$\endgroup\$ – BeginnerDev Dec 21 '17 at 23:36
  • \$\begingroup\$ Please read the help center, it goes over the options. If you don’t have a traditional keyboard or your mobile layout doesn’t show he appropriate UI you can always just type the Markdown in directly. \$\endgroup\$ – Josh Dec 22 '17 at 0:54
2
\$\begingroup\$

Surround the text you want with backticks and will appear as inline code.

Put four spaces in front of each line of text
    you want to appear
        as a block of code. 

You can click the "edit" link under this post to see exactly what the post content looks like.

There are also buttons you can press above the text edit area, some of which have key mappings. Control-K will create code blocks for selected text, for example; pressing the {} button above the text box does the same thing.

This section of the Help Center explains the formatting features in more detail.

\$\endgroup\$

You must log in to answer this question.

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