Replies: 1 comment
-
I've added Littlefoot to my site, but just need to work out one small problem. I've made the following changes:
</head>
<body>
<slot />
<script is:inline
src="https://unpkg.com/littlefoot/dist/littlefoot.js"
type="application/javascript">
</script>
<script is:inline type="application/javascript">
littlefoot.littlefoot();
</script>
</body>
</html> Result: edit: Fixed it for now. <script>
document.addEventListener('astro:page-load', () => {
littlefoot.littlefoot();
});
</script> Side note, I'm sure I'm doing this really inefficiently - I just couldn't figure out a way to add it to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
would be great if theme had option for tooltips to display footnotes
Beta Was this translation helpful? Give feedback.
All reactions