Flux Palette includes a custom syntax highlighter designed to match your chosen color palette perfectly.

Code Blocks

Hover over the code block to see the “Copy” button and the language label.

JAVASCRIPT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// QuickSort Implementation
function quickSort(arr) {
if (arr.length <= 1) return arr;

const pivot = arr[arr.length - 1];
const left = [];
const right = [];

for (let i = 0; i < arr.length - 1; i++) {
if (arr[i] < pivot) {
left.push(arr[i]);
} else {
right.push(arr[i]);
}
}

return [...quickSort(left), pivot, ...quickSort(right)];
}

And here is some CSS:

CSS
1
2
3
4
5
6
7
8
9
:root {
--accent: #ff6d00;
--bg-color: #0a0a0a;
}

body {
background-color: var(--bg-color);
color: white;
}

Social Buttons

You can insert your social links (configured in _config.yml) anywhere in your post using the tag.

Or customize them inline: