Markdown styling tests

2026-08-15

This is a test for using the zine static site generator for my website.

This italic, bold, code, strike, ==highlighted==

This is a paragraph:

Where does battery voltage actually come from? When I finally learned the answer, I was stunned, because none of my engineering or chemistry college textbooks explained it. (They only presented equations describing it. They obviously didn’t understand it themselves, since they couldn’t “explain it to Einstein’s grandmother.”)

This is a quote

“When possible, behavior tests are the most preferred kind of test.”

This is a french paragraph:

Un ingénieur ou une ingénieure est un professionnel traitant de problèmes complexes d’ingénierie, notamment en concevant des produits, des processus si nécessaire avec des moyens novateurs, et dirigeant la réalisation et la mise en œuvre de l’ensemble : produits, systèmes ou services. L’ingénieur crée, conçoit, innove dans plusieurs domaines tout en prenant en compte les facteurs sociaux, environnementaux et économiques propres au développement durable. Il lui faut pour cela, non seulement des connaissances techniques, mais aussi économiques, sociales, environnementales et humaines reposant sur une solide culture scientifique et générale.

This is a bullet list:

  • a
  • b
  • c
  • d

This is a numbered list:

  1. a
  2. b
  3. c
  4. d

Here’s a section separation:


Code

First let me define the Queue type:

typedef uint32_t u32;

typedef struct {
    int *ptr; //< ptr to array
    u32  cap; //< array capacity
    u32  r;   //< reader index
    u32  w;   //< writer index
} Queue;

And some utility

// Utilities
#define count_of(ARR)    (sizeof(ARR) / sizeof(*(ARR)))
#define is_power_of_2(N) ((N) && !((N) & ((N) - 1U)))

static inline u32 wrap(u32 const index, u32 const capacity) { 
    // We assume `capacity` is a power of 2.
    return index & (capacity - 1);  // index % capacity
}
bool insert(int32_t key, int32_t *table, int exp)
{
    uint64_t hash = ((uint64_t)key * 1111111111111111111u) >> 32;
    uint32_t mask = ((uint32_t)1 << exp) - 1;
    uint32_t step = (hash >> (32 - exp)) | 1;
    for (uint32_t index = hash;;) {
        index = (index + step) & mask;
        if (!table[index]) {
            __atomic_store_n(table+index, key, __ATOMIC_RELAXED);
            return true;
        } else if (table[index] == key) {
            return false;
        }
    }
}

math

Btw this sample website also includes the JS/CSS dependencies required to render math:

This: is an inline equation instead!

Voilà !