glideapps / glideapps/glide-data-grid

Code cell

Open
#846 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.