INIT 1
by Jt3kt
Here is a content drop.
Testing out some of the markdown language for Jekyll with codeblock examples. Markdown source for this page is available here.
| Language | Jekyll Support | Status |
|---|---|---|
| Bash | ![]() |
yay |
| Javascript | ![]() |
boo |
| Lolcode | ![]() |
lul |
| Powershell | ![]() |
meh |
| Python | ![]() |
l33t |
For a full list of supported language markdowns reference the rouge wiki.
Code Block Examples
Bash
declare -a colors=("Red" "Orange" "Yellow" "Green" "Blue" "Indigo" "Violet")
for x in "${colors[@]}"
do
echo "$x"
done
Javascript
var colors = {"Red","Orange","Yellow","Green","Blue","Indigo","Violet"};
for (x = 0; x < colors.length; i++) {
text += colors[x] + "<br>";
}
Lolcode
HAI 1.2
I HAS A COLORS ITZ A BUKKIT
BTW DECLARYING AN ARRAY
COLORS HAS A VAR1 ITZ "RED"
COLORS HAS A VAR2 ITZ "ORANGE"
COLORS HAS A VAR3 ITZ "YELLOW"
COLORS HAS A VAR4 ITZ "GREEN"
COLORS HAS A VAR5 ITZ "BLUE"
COLORS HAS A VAR6 ITZ "INDIGO"
COLORS HAS A VAR7 ITZ "VIOLET"
BTW VAR1 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW VAR2 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW VAR3 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW VAR4 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW VAR5 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW VAR6 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW VAR7 IS A STRING VARIABLE THAT IS INSERTED INTO ARRAY COLORS
BTW GET THE ELEMENT OF ARRAY
I HAS A VER ITZ 0
IM IN YR LOOPY UPPIN YR VER TIL BOTH SAEM VER AN 7
I HAS A VAL ITZ SUM OF VER AN 1
MAEK VAL A YARN
I HAS A KITTY ITZ SMOOSH "VAR" AN VAL MKAY
VISIBLE COLORS'Z KITTY
IM OUTTA YR LOOPY
KTHXBYE
Powershell
$colors = @("Red","Orange","Yellow","Green","Blue","Indigo","Violet")
For ($x=0; $x -lt $colors.Length; $x++) {
$colors[$x]
}
Python
An example YouTube embed:
colors = ["Red","Orange","Yellow","Green","Blue","Indigo","Violet"]
for x in colors:
print(x)

