Blog Checklist
Using this post to check if I have coded up everything I want in this blog.
- all level headings
- bold, italics, and strikethrough
- links
- footnotes
- images and captions
- quotes
- tables
- code blocks and syntax highlighting
- $\TeX$
- utterances comments
- RSS feed for both /writing and /reading
- sitemap.xml
- lichess, twitter, and youtube embeds
- github gists
- jekyll-scholar
- site-wide search box
- categories
Level 1 Heading
Level 2 Heading
Level 3 Heading
Level 4 Heading
Level 5 Heading
Level 6 Heading
This is bold
This is italics
This is strikethrough
This line has a footnote1
Figure 1. this is an image and caption.
this a quote
this is the quote citation
this is a table
| Column 1 | Column 2 | Column 3 | Column 4 |
|---|---|---|---|
| [0, 0] | [0, 1] | [0, 2] | [0, 3] |
| [1, 0] | [1, 1] | [1, 2] | [1, 3] |
| [2, 0] | [2, 1] | [2, 2] | [2, 3] |
| [3, 0] | [3, 1] | [3, 2] | [3, 3] |
| [4, 0] | [4, 1] | [4, 2] | [4, 3] |
this is a codeblock, with syntax highlighting
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* Name: qsort.c
* Description: C implementation of the quicksort algorithm
* Author: kyscg
*/
#include <stdio.h>
#define N 10
int split(int a[], int low, int high);
void quicksort(int a[], int low, int high);
int main(void)
{
int a[N], i;
printf("Enter %d numbers to be sorted: ", N);
for (i = 0; i < N; i++)
scanf("%d", &a[i]);
quicksort(a, 0, N - 1);
printf("In sorted order: ");
for (i = 0; i < N; i++)
printf("%d ", a[i]);
printf("\n");
return 0;
}
int split(int a[], int low, int high)
{
int part_element = a[low];
for (;;)
{
while (low < high && part_element <= a[high])
high--;
if (low >= high)
break;
a[low++] = a[high];
while (low < high && a[low] <= part_element)
low++;
if (low >= high)
break;
a[high--] = a[low];
}
a[high] = part_element;
return high;
}
void quicksort(int a[], int low, int high)
{
int middle;
if (low >= high)
return;
middle = split(a, low, high);
quicksort(a, low, middle - 1);
quicksort(a, middle + 1, high);
}
this is a $\TeX$ command:
\[2+2=4\tag{$\star$}\]this is a lichess embed:
this is a youtube embed:
this is a twitter embed:
Circumstances? What are circumstances? I make circumstances!
— ︎kyscg (@kyscg7) April 7, 2025
this is a github gist embed:
-
which redirects back to the line ↩