Skip to content

Commit

Permalink
Update markdown.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorithm5838 authored Aug 18, 2023
1 parent 5a7ec38 commit 35b0bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function _MarkDownContent(props: { content: string }) {
]}
components={{
pre: PreCode,
p: (pProps) => <p {...pProps} dir="auto" />,
a: (aProps) => {
const href = aProps.href || "";
const isInternal = /^\/#/i.test(href);
Expand Down Expand Up @@ -150,7 +151,6 @@ export function Markdown(
ref={mdRef}
onContextMenu={props.onContextMenu}
onDoubleClickCapture={props.onDoubleClickCapture}
dir="auto"
>
{props.loading ? (
<LoadingIcon />
Expand Down

0 comments on commit 35b0bd7

Please sign in to comment.