Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 3 months ago

🥳 New Kitten Release

• Improved Markdown parser

Kitten’s JavaScript tagged template strings (`kitten.html`) no longer fail to render as expected when interpolated values are used inside of Markdown where the Markdown render changes source order.

So, for example, the following will now work correctly, whereas, previously, the link source and link text would have been erroneously flipped:

kitten.html`
<markdown>
[${linkText}](${linkSource})
</markdown>
`

To implement the fix, I’ve moved Markdown rendering outside of the main render loop and into a pre-render stage and implemented a simple Markdown render tree that non-recursively handles all Markdown region renders.

More details: https://codeberg.org/kitten/app/src/branch/main/CHANGELOG.md#2025-07-21

Run `kitten update` to update your dev machines. Your deployment servers will automatically update in the next few hours.

You can learn more about and install Kitten from the Kitten web site:
https://kitten.small-web.org/

Enjoy!

:kitten:💕

#Kitten #KittenRelease #SmallWeb #server #framework #web #dev #kit #markdown

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login