weakish

This is a learning-by-doing project for me to experiment Lume and Deno.

Random Pages

Some random pages for demonstration purposes (content may be outdated or auto generated via AI).

Syntax Highlighting

Syntax highlighting in Lume is supported via Prism or Highlight.js. And two community plugins for Glow and Shiki are available.

Glow is too naive to me and supports only a limited set of languages. Compared to Prism and Highlight.js, Shiki is more powerful and ships zero JavaScript in runtime. For this site, I use starry-night, which is similar to Shiki in essence, but matches GitHub in that it produces classes and works with the CSS it ships. There is no Lume plugin for Starry Night, but it is easy to use with Lume:

site.use(remark({
  rehypePlugins: [[
    rehypeStarryNight, {
      grammars: all 
    }]],
}));

Some random pages with syntax highlighting:

More Random Pages

Markdown Sandbox

The following table uses GitHub Flavored Markdown (GFM) table syntax, which may not render correctly in all Markdown viewers:

| gh | gist | mastodon | gpg | rss | json | /log | /movies | /uses | |——|——–|————|——-|——-|——–|——–| ——— | ——- |

Netlify Status