code format

This commit is contained in:
josc146
2023-05-22 10:52:06 +08:00
parent 035c6ab8de
commit bbad153ecb
28 changed files with 429 additions and 429 deletions

View File

@@ -3,14 +3,14 @@ import rehypeRaw from 'rehype-raw';
import rehypeHighlight from 'rehype-highlight';
import remarkGfm from 'remark-gfm';
import remarkBreaks from 'remark-breaks';
import {FC} from 'react';
import {ReactMarkdownOptions} from 'react-markdown/lib/react-markdown';
import {BrowserOpenURL} from '../../wailsjs/runtime';
import { FC } from 'react';
import { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown';
import { BrowserOpenURL } from '../../wailsjs/runtime';
const Hyperlink: FC<any> = ({href, children}) => {
const Hyperlink: FC<any> = ({ href, children }) => {
return (
<span
style={{color: '#8ab4f8', cursor: 'pointer'}}
style={{ color: '#8ab4f8', cursor: 'pointer' }}
onClick={() => {
BrowserOpenURL(href);
}}