Posting Code Or Sql On Github

Since a lot of ppl posts code and sql without format on tracker the way to post it is:

src/server/scripts/Spells/spell_generic.cpp | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index 80474f2..a301428 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -1262,6 +1262,11 @@ class spell_gen_launch : public SpellScriptLoader
}
};

+enum VehicleScaling
+{
+ SPELL_GEAR_SCALING = 66668,
+};
+
class spell_gen_vehicle_scaling : public SpellScriptLoader
{
public:

[CODE]

insert into ........
```[/CODE]

NOTE it's very important to leave one empty row before ```code or ```sql

actually you can use any language for where code is. and if its a diff you can use diff /emoticons/default_biggrin.png