mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-09-02 07:45:33 -04:00
fix blockquotes
This commit is contained in:
@@ -61,7 +61,7 @@ const Heading = ({ as, id, divider, children, ...rest }: HeadingProps) => {
|
|||||||
<H as={as} divider={divider ?? as === "h2"} id={id} {...rest}>
|
<H as={as} divider={divider ?? as === "h2"} id={id} {...rest}>
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
{/* add anchor link to H2s and H3s. ID is already generated by rehype-slug. `#` character inserted via CSS. */}
|
{/* add anchor link to H2s and H3s. ID is either provided or automatically generated by rehype-slug. */}
|
||||||
{id && (as === "h2" || as === "h3") && <Anchor id={id} title={innerText(children)} />}
|
{id && (as === "h2" || as === "h3") && <Anchor id={id} title={innerText(children)} />}
|
||||||
</H>
|
</H>
|
||||||
);
|
);
|
||||||
|
|||||||
+2
-4
@@ -24,10 +24,8 @@ const CLI = () => (
|
|||||||
|
|
||||||
<Content>
|
<Content>
|
||||||
<Blockquote>
|
<Blockquote>
|
||||||
<p>
|
The <Link href="/">Jake Jarvis</Link> CLI (aka the most useless Node module ever published, in history, by
|
||||||
The <Link href="/">Jake Jarvis</Link> CLI (aka the most useless Node module ever published, in history, by
|
anyone, ever).
|
||||||
anyone, ever).
|
|
||||||
</p>
|
|
||||||
</Blockquote>
|
</Blockquote>
|
||||||
|
|
||||||
<Image src={cliImg} href="https://www.npmjs.com/package/@jakejarvis/cli" alt="Terminal Screenshot" priority />
|
<Image src={cliImg} href="https://www.npmjs.com/package/@jakejarvis/cli" alt="Terminal Screenshot" priority />
|
||||||
|
|||||||
+4
-6
@@ -42,12 +42,10 @@ const Privacy = () => (
|
|||||||
<Link href="https://www.torproject.org/">🧅 Tor network</Link> at:
|
<Link href="https://www.torproject.org/">🧅 Tor network</Link> at:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<Blockquote>
|
<Blockquote css={{ overflowWrap: "break-word" }}>
|
||||||
<p>
|
<Link href="http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion">
|
||||||
<Link href="http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion">
|
<strong>jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion</strong>
|
||||||
<strong>jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion</strong>
|
</Link>
|
||||||
</Link>
|
|
||||||
</p>
|
|
||||||
</Blockquote>
|
</Blockquote>
|
||||||
|
|
||||||
<H2 id="analytics">Analytics</H2>
|
<H2 id="analytics">Analytics</H2>
|
||||||
|
|||||||
Reference in New Issue
Block a user