diff --git a/lib/tcmd/TokenIdentifiers.tsx b/lib/tcmd/TokenIdentifiers.tsx
index e6fa003..c737af7 100644
--- a/lib/tcmd/TokenIdentifiers.tsx
+++ b/lib/tcmd/TokenIdentifiers.tsx
@@ -1,6 +1,6 @@
import { sanitize } from "isomorphic-dompurify";
import Link from "next/link";
-import { Fragment } from "react";
+import React, { Fragment } from "react";
import { Poppable } from "../poppables/components/poppable";
import { Accordion, AccordionContent } from "../accordion";
@@ -110,7 +110,10 @@ export const buildOnlyDefaultElements = () => {
} as React.CSSProperties}
className="grid grid-cols-dynamic gap-x-8 gap-y-6 mb-6"
>
- {children?.map((c) =>
{children?.map((e) =>
{e.render(e)}
)}
@@ -265,7 +275,7 @@ export const buildOnlyDefaultElements = () => {
(token) => {
return (
{
const tokenize = (body: string) => {
const tokenizedBody: TokenMarker[] = [];
- body = body.replaceAll(/[ \t]+\n/g, "\n");
+ body = body.replaceAll(/[ \t]+\n/g, "\n").replaceAll(/\n{3,}/g, "\n\n");
const addToken = (thing: TokenMarker) => {
tokenizedBody.push(thing);
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 5f31dae..7e3cb26 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -46,6 +46,9 @@ const config: Config = {
height: {
variable: "var(--v-height)",
},
+ gridColumn: {
+ variable: "span var(--v-span) / span var(--v-span)",
+ },
},
},
plugins: [],