-
Notifications
You must be signed in to change notification settings - Fork 118
Feature/adding query md experimental support #923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
davidporter-id-au
merged 9 commits into
cadence-workflow:master
from
davidporter-id-au:feature/adding-query-md-experimental-support
Jun 17, 2025
+1,953
−179
Merged
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a3eded4
adds experimental md support
davidporter-id-au 06a07ad
renamed
davidporter-id-au 09e8652
fix test
davidporter-id-au aa4691e
update package-lock with npm registery instead of unpm
Assem-Uber a843352
fix lint
Assem-Uber 33a33bd
refactor and fix styling
Assem-Uber 3dd43b8
Merge branch 'master' into feature/adding-query-md-experimental-support
Assem-Uber 99d61cc
fix lint and test
Assem-Uber aeae762
add cadenceResponseType
Assem-Uber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { styled as createStyled } from 'baseui'; | ||
|
||
export const styled = { | ||
ViewContainer: createStyled('div', ({ $theme }) => ({ | ||
flex: '1 0 150px', | ||
alignSelf: 'stretch', | ||
flexDirection: 'row', | ||
alignItems: 'flex-start', | ||
padding: '30px', | ||
backgroundColor: $theme.colors.backgroundSecondary, | ||
borderRadius: $theme.borders.radius300, | ||
'& h1, h2, h3, h4, h5, h6': { | ||
lineHeight: $theme.typography.HeadingXSmall.lineHeight, | ||
marginTop: $theme.sizing.scale600, | ||
marginBottom: $theme.sizing.scale400, | ||
color: $theme.colors.contentPrimary, | ||
}, | ||
'& p': { | ||
marginBottom: $theme.sizing.scale400, | ||
}, | ||
'& pre': { | ||
fontFamily: $theme.typography.MonoLabelXSmall.fontFamily, | ||
backgroundColor: $theme.colors.backgroundAccentLight, | ||
padding: $theme.sizing.scale400, | ||
}, | ||
})), | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
'use client'; | ||
import Markdown from 'react-markdown'; | ||
|
||
import { styled } from './md.styles'; | ||
import type { Props } from './md.types'; | ||
|
||
export default function Md({ markdown }: Props) { | ||
return ( | ||
<styled.ViewContainer> | ||
<Markdown | ||
components={{ | ||
p: ({ children }) => <p>{children}</p>, | ||
}} | ||
> | ||
{markdown} | ||
</Markdown> | ||
</styled.ViewContainer> | ||
); | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export type Props = { | ||
markdown: string; | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.