Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions blocks.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,21 @@
{
"type": "file",
"id": "markdown-block",
"title": "Markdown",
"description": "View markdown files. You can also view live repo info, using Issues, Releases, and Commits custom components, as well as live code examples with CodeSandbox.",
"sandbox": true,
"entry": "blocks/file-blocks/live-markdown/index.tsx",
"matches": ["*.md", "*.mdx"],
"title": "Markdown block",
"description": "View and edit Markdown content",
"sandbox": false,
"entry": "blocks/file-blocks/markdown-edit/index.tsx",
"matches": ["*"],
"example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/README.md"
},
{
"type": "file",
"id": "sandbox-block",
"title": "JS Sandbox block",
"description": "Execute Javascript code",
"sandbox": false,
"entry": "blocks/file-blocks/sandbox/index.tsx",
"matches": ["*"],
"example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/README.md"
},
{
Expand Down
2 changes: 1 addition & 1 deletion blocks/file-blocks/code/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const oneDarkTheme = EditorView.theme(

".cm-cursor, .cm-dropCursor": { borderLeftColor: colors.cursor },
"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":
{ backgroundColor: colors.bg },
{ backgroundColor: colors.selectionBg },
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something I noticed poking around here - lil fix


".cm-panels": { backgroundColor: colors.linesBg, color: colors.text },
".cm-panels.cm-panels-top": {
Expand Down
Loading