website

Personal website
git clone https://git.michaelneuper.com/website.git
README | Files | Log | Refs

website/src/components/post/OrgBody.astro (589B)


---
// A post's text. Its headings get stars that fold them, as in Org
// (src/scripts/post/folding.js), M-x imenu jumps between them, and its clips
// play only while they're on screen (src/scripts/post/videos.js).
import "../../styles/org.css";
import "../../styles/post/org.css";
---
<article class="post-body">
  <slot />
</article>

<script>
  import { initFolding } from "../../scripts/post/folding.js";
  import { initImenu } from "../../scripts/post/imenu.js";
  import { initVideos } from "../../scripts/post/videos.js";

  initFolding();
  initImenu();
  initVideos();
</script>