screwlisp proposes kittens

Using a simple kitten layout in md pages

Kittens naturally html-page-ify anything with a .page.md extension. So in practice my index.page.js is like

<ul>
<li><a href="/here/this.page.md">This!</a>
<li><a href="/there/that.page.md">That!</a>
</ul>

javascript is just kitten’s host language

Note that it is Kitten’s dynamic static page generation’s host language that is javascript; you can visit my page in emacs eww or the best browser, links2 or with javascript otherwise disabled no problem. I think there is some syntax highlighting javascript cooked in that I have personally never seen.

Generating more complete markdown web pages

Aral (personally) wrote me three lines of whatever a web page layout is which I then butchered, Site.layout.js. For the kitten to consume it in a markdown file, you make the markdown file like this, with a block like

---
layout: ../Site.layout.js
---

in it.

Here is this whole markdown document except for this:

---
layout: /Site.layout.js
---
# Using a simple kitten layout in md pages

Kittens naturally html-page-ify anything with a `.page.md` extension. So in practice my `index.page.js` is like

'''
<ul>
<li><a href="/here/this.page.md">This!</a>
<li><a href="/there/that.page.md">That!</a>
</ul>
'''

# javascript is just kitten's host language

Note that it is Kitten's dynamic static page generation's host language that is javascript; you can visit my page in `emacs` `eww` or the best browser, `links2` or with javascript otherwise disabled no problem. I think there is some syntax highlighting javascript cooked in that I have personally never seen.

# Generating *more complete* markdown web pages

[Aral](https://ar.al) (personally) wrote me three lines of whatever a *web page layout* is, <a href="https://codeberg.org/tfw/screwlisps-kitten/src/branch/main/Site.layout.js">Site.layout.js</a>. For the kitten to consume it in a markdown file, you make the markdown file like this, with a block like
'''
---
layout: /Site.layout.js
---
'''
in it.

Here is this whole document except for this:
'''markdown-kitten-front-matter.page.md
'''

# Fin.

Hope this helps / see you on the Mastodon. I want to do federating kitten tls things with everyone soon. We will use mnl's parenscript to generate the kitten host javascript.

Fin.

Hope this helps / see you on the Mastodon. I want to do federating kitten tls things with everyone soon. We will use mnl’s parenscript to generate the kitten host javascript.

screwlisp proposes kittens