Chciałbym przedstawić w miarę prosty poradnik co i jak przedstawiać na forum aby było estetycznie i semantycznie. Postaram się aby były to przykłady z życia jakie możecie sami napotkać przy używaniu forum.
Warto zobaczyć: https://guides.github.com/features/mastering-markdown/ https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
Pogrubianie
Kod
**Markdown jest fajny**
Efekt
Markdown jest fajny
Wyrazy do kopiuj-wklej
Kod
`jakas-nazwa-komendy`
Efekt
jakas-nazwa-komendy
Wklejanie kodu PHP
Kod
$text = "Hello World"
echo $text;
Efekt
$text = "Hello World"
echo $text;
Wklejanie HTML
Kod
Pyro
Efekt
Pyro
Wklejanie logów
Kod
[19:38:47] [Thread-7/WARN]: Exception in thread "Thread-7"
[19:38:47] [Thread-7/WARN]: org.bukkit.craftbukkit.libs.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 7
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:180)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.Gson.fromJson(Gson.java:755)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.Gson.fromJson(Gson.java:694)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.v1_7_R3.updater.BukkitDLUpdaterService.fetchArtifact(BukkitDLUpdaterService.java:53)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.v1_7_R3.updater.BukkitDLUpdaterService.getArtifact(BukkitDLUpdaterService.java:30)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.v1_7_R3.updater.AutoUpdater$1.run(AutoUpdater.java:77)
[19:38:47] [Thread-7/WARN]: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 7
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:168)
[19:38:47] [Thread-7/WARN]: ... 5 more
Efekt
[19:38:47] [Thread-7/WARN]: Exception in thread "Thread-7"
[19:38:47] [Thread-7/WARN]: org.bukkit.craftbukkit.libs.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 7
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:180)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.Gson.fromJson(Gson.java:755)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.Gson.fromJson(Gson.java:694)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.v1_7_R3.updater.BukkitDLUpdaterService.fetchArtifact(BukkitDLUpdaterService.java:53)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.v1_7_R3.updater.BukkitDLUpdaterService.getArtifact(BukkitDLUpdaterService.java:30)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.v1_7_R3.updater.AutoUpdater$1.run(AutoUpdater.java:77)
[19:38:47] [Thread-7/WARN]: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 7
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
[19:38:47] [Thread-7/WARN]: at org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:168)
[19:38:47] [Thread-7/WARN]: ... 5 more
Lista
Kod
* rzecz1
coś trochę niżej
* rzecz2
* podrzecz
* rzecz3
Efekt
- rzecz1 coś trochę niżej
- rzecz2
- podrzecz
- rzecz3