glideapps / glideapps/glide-data-grid
Code cell
Open
package:cells
type:enhancement
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Add a cell type to the `cells` package to display and edit code with syntax highlighting. The overlay editor could be based on [`monaco`](https://github.com/microsoft/monaco-editor) or [`codemirror`](https://github.com/codemirror/codemirror5) editor. The behavior is pretty comparable to the markdown and article cell types.
```typescript
interface CodeCellProps {
readonly kind: "code-cell";
readonly data: string | undefined | null;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.