Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@aral@mastodon.ar.al
2025-08-18 10:00:39

Coming soon (likely this afternoon, I’m writing tests and docs and updating examples as we speak)…
This is the sort of thing you’ll be able to do with Markdown pages. Just pop any arbitrary JavaScript you want in the new script block in the front matter and then import and use components as well as plain old JavaScript tagged template variable interpolation (not shown in this example) inside your Markdown.
The screen has all the code (sans the end of the last line of CSS and the…

Screenshot: three windows: left side: Source of index.page.md, top-right browser showing running web app, bottom-right, source of Button and Reactions components.

Contents of windows:

index.page.md:

---
title: An interactive markdown page
script: |
  import Reaction from './Reaction.fragment.js'

  // Initialise database if necessary.
  kitten.db.reactions ??= {}
  kitten.db.reactions.Heart ??= 0
  kitten.db.reactions.Confetti ??= 0
  kitten.db.reactions.Smiley ??= 0

  let page

  expo…

There have been 1,295 cases of pertussis, also called whooping cough, in Florida, an 81 percent surge compared to the entirety of 2024. 
And nationwide, cases rose six-fold in 2024 compared to the year before, CDC figures show, a sign of waning immunity against a disease that once struck hundreds of thousands. 
#MakeAmericaHealthyAgain

@gray17@mastodon.social
2025-09-13 04:45:03

improve news by adding to the end of any headline "I have a solution: wolves"
robmanuelfuckyeah.substack.com

@matths@toot.community
2025-09-30 21:10:19

I'm currently tinkering with the calculations behind these geometries, but I'm not sure about some of the parameters in order to make them completely generic. #svg #javascript #maths

Four arcs originating from the corners of a square and whose centre point is the diagonally opposite corner. The arcs end at a mirror axis exactly at the adjacent arc.
same image as before but with a regular hexagon and six axis