Skip to content

Commit

Permalink
feat: export Markdown component
Browse files Browse the repository at this point in the history
  • Loading branch information
Vtec234 committed Oct 16, 2024
1 parent f65cf74 commit b135ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lean4-infoview/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export * from '@leanprover/infoview-api'
export { EditorContext, EnvPosContext, VersionContext } from './infoview/contexts'
export { EditorConnection } from './infoview/editorConnection'
export { GoalLocation, GoalsLocation, LocationsContext } from './infoview/goalLocation'
export { InteractiveCode, InteractiveCodeProps } from './infoview/interactiveCode'
export { InteractiveCode, InteractiveCodeProps, Markdown } from './infoview/interactiveCode'
export { renderInfoview } from './infoview/main'
export { RpcContext, useRpcSession } from './infoview/rpcSessions'
export { ServerVersion } from './infoview/serverVersion'
Expand Down
2 changes: 1 addition & 1 deletion lean4-infoview/src/infoview/interactiveCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ interface TypePopupContentsProps {
* and then passes the content through to a Markdown renderer
* (currently `remark`).
*/
function Markdown({ contents }: { contents: string }): JSX.Element {
export function Markdown({ contents }: { contents: string }): JSX.Element {
return (
<ReactMarkdown
children={contents}
Expand Down

0 comments on commit b135ee3

Please sign in to comment.