Rocky_Mountain_Vending/.pnpm-store/v10/files/a0/37d65be050099f734af5b1a581aefcdc327d657e6f21aafac7b323e158179b022468a6432b652bb379a569f1d381e06499c530a321e44716f01d9c24ddeeea
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

18 lines
476 B
Text

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {FunctionComponent} from 'preact';
import {convertMarkdownCodeSnippets} from '../../../report/renderer/api';
import {useExternalRenderer} from '../util';
export const Markdown: FunctionComponent<{text: string}> = ({text}) => {
const ref = useExternalRenderer<HTMLSpanElement>(() => {
return convertMarkdownCodeSnippets(text);
}, [text]);
return <span ref={ref}/>;
};