How to Post Your Code With Radiant, Harmonious Formatting


#1

You can get your code to format properly by surrounding it in triple backticks and typing the programming language name. This:

[code]```python
enemy = self.findNearestEnemy()
if enemy:
self.attack(enemy)


becomes this:

```python
enemy = self.findNearestEnemy()
if enemy:
    self.attack(enemy)

Can't beat level 10
Kithgard Big Shen Trap problem
Can't get past Endangered Burl PLEASE HELP
I need help with the usual day level codecombat lua
#5

you can also highlight it and press ctrl+k


#7

How do you post a new link not a reply??? :confounded:


#8

you press the little + at the top right of the post