CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/components/share/sage-worksheet.tsx
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
import { parse_sagews } from "@cocalc/frontend/sagews/parse-sagews";
7
import Worksheet from "@cocalc/frontend/sagews/worksheet";
8
9
interface Props {
10
content: string;
11
}
12
13
export default function SageWorksheet({ content }: Props) {
14
return <Worksheet sagews={parse_sagews(content)} />;
15
}
16
17