demo page

Lecture 9 min.

Archivé

this page is in fact not archived. it is only here to demonstrate the archival statement.

Avertissement

this page contains AI opinions and occasional bad jokes.

Décharge
  • all experiments here are performed by a human with caffeine.
  • don’t expose yourself to 4000° kelvin.
  • don’t take party escort submission position.
  • don’t trust LLM outputs without verification.

markdown

text can be bold, italic, strikethrough, and all at the same time.

link to another page.

there should be whitespace between paragraphs1.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

this is a normal paragraph2 following a header.

😭😂🥺🤣❤️✨🙏😍🥰😊

Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.

“Make it simple, but significant.”

my own design philosophy

  1. Perform step #1
  2. Proceed to step #2
  3. Conclude with step #3

Brenner Cruvinel avatar

ProjectStackStatus
nestRust / PythonActive
AutoSauceTypeScript / AIIn development
PrettyEyesReact / ViteWIP ~65%
CryptoControlNext.js / FigmaShipped V2
FlashedMobile / AIShipped MVP
let highlight = true;
pre mark {
  display: block;
  color: currentcolor;
}
pre table td:nth-of-type(1) {
  color: #6b6b6b;
  font-style: italic;
}

useful information that users should know, even when skimming content.

helpful advice for doing things better or more easily.

key information users need to know to achieve their goal.

urgent info that needs immediate user attention to avoid problems.

advises about risks or negative outcomes of certain actions.


extra

KaTeX

i can render LaTeX with the KaTeX library, enabled by the extra.katex config variable.

$$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi)\,e^{2 \pi i \xi x}\,d\xi$$

$$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi),e^{2 \pi i \xi x},d\xi$$

shortcodes

i have a few useful shortcodes that simplify some tasks, usable on any page.

alerts

github-style alerts. wrap the alert text inside the shortcode to get the look.

available alert types:

{% alert(note=true) %}
-> Alert text <-
{% end %}

useful information that users should know, even when skimming content.

helpful advice for doing things better or more easily.

key information users need to know to achieve their goal.

urgent info that needs immediate user attention to avoid problems.

advises about risks or negative outcomes of certain actions.

images and videos

by default, images and videos come with generic styling, like rounded corners and shadow. to fine-tune that, use shortcodes with different variable combinations.

available variables:

{{/* image(url="image.png", alt="This is an image", no_hover=true) */%}}
nest database architecture
image with alt text and no zoom on hover
AutoSauce banner
image with a compressed version, alt text, and no zoom on hover

alternatively, you can append the following URL anchors. handier in some cases, e.g. these render normally in any markdown editor, unlike the Zola shortcodes.


toolbx header logo

full-width image with alt text, pixel-art rendering, no shadow or rounded corners, and no zoom on hover

Brenner Cruvinel avatar Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur.


mountain lake full-bleed

for videos it’s all the same, with a few differences: the no_hover and url_min variables aren’t available.

you can also set the following attributes:

{{/* video(url="video.webm", alt="This is a video", controls=true) */%}}
webm video example from MDN

CRT

this one doesn’t simplify anything, it just adds a CRT-like effect around markdown code blocks.

{% crt() %}
-> Markdown code block <-
{% end %}

there’s also a cursor class you can add to a span with e.g. the █ character to simulate the terminal cursor. it doesn’t work inside markdown code blocks though.

YouTube

embeds a YouTube video using youtube-nocookie.

available variables:

{{/* youtube(id="0Da8ZhKcNKQ") */%}}

Vimeo

embeds a Vimeo video.

available variables:

{{/* vimeo(id="869483483") */%}}

Mastodon

embeds a Mastodon post.

available variables:

{{/* mastodon(host="toot.community", user="sungsphinx", id="111789185826519979") */%}}

description list (<dl>)

<dl>
<dt>Something</dt>
<dd>And its description</dd>
</dl>
Name
Brenner Cruvinel
Role
AI Researcher / Product Designer
Location
Brazil
Philosophy
Make it simple, but significant.

form input (<input>)

<input type="checkbox" />
<label>Checkbox</label>

with the switch class:

<input class="switch" type="checkbox" />
<label>Checkbox</label>

figure captions (<figcaption>)

<figure>
  -> Whatever content <-
  <figcaption>Caption of content above</figcaption>
</figure>

CryptoControl dashboard

CryptoControl V2 dashboard

accordion (<details>)

<details>
  <summary>Accordion title</summary>
  -> Contents here <-
</details>
reveal project list
  • nest
  • AutoSauce
  • PrettyEyes
  • CryptoControl
  • Flashed

side comment (<small>)

<small>Small, cute text that doesn't catch attention.</small>

Small, cute text that doesn’t catch attention.

abbreviation (<abbr>)

<abbr title="Artificial Intelligence">AI</abbr>

the AI tools are getting better every day.

aside (<aside>)

<aside>

-> Contents here <-
</aside>

AI researcher and product designer working at the intersection of computer science and mental health.

keyboard input (<kbd>)

<kbd>⌘ Command</kbd>.

to open the command palette, press ⌘ Command + Shift + P.

mark text (<mark>)

<mark>Marked text</mark>

you know what? i’m gonna say some very important stuff, so important that even bold is not enough.

deleted and inserted text (<del> and <ins>)

<del>Something deleted</del> <ins>Something added</ins>

Old homepage New homepage based on GitHub

progress indicator (<progress>)

<progress></progress>
<progress value="33" max="100"></progress>

sample output (<samp>)

<samp>Sample Output</samp>

Sample Output

inline quotation (<q>)

<q>Someone said something</q>

blah blah make it simple, but significant hmm.

unarticulated annotation (<u>)

<u>Gmarrar mitsakes</u>

Build the thing that matters.

<a class="external" href="https://example.org">External link</a>

GitHub profile

spoilers

<span class="spoiler">Some spoiler</span>

you know, the best code is the code you don’t have to write. i know, crazy.

with the solid class:

<span class="spoiler solid">Some spoiler</span>

you know, the best code is the code you don’t have to write. i know, crazy.

buttons dialog

<div class="buttons">
  <a href="#top">Go to Top</a>
  <a class="colored external" href="https://example.org">Example</a>
</div>

with the centered and big classes:

<div class="buttons centered">
  <button class="big colored">Do Something…</button>
</div>
Accent color:
  1. Footnote ↩

  2. Footnote (link) ↩