Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 6 forks source link

Code block: support JSX syntax #689

Closed pawel-cebula closed 3 years ago

pawel-cebula commented 3 years ago

Describe the problem

The code block formatting for JSX syntax doesn't work smoothly when you select javascript in the dropdown, i.e.

Therefore, after copy/pasting JSX code into code blocks, it requires a fair amount of manual editing, and the code is not super readable (due to the highlighting of closing HTML tags).

Feature implementation

Implement JSX in the drop-down for code blocks.

Additional context

React is a very common JS library so it would benefit a lot of developers that are using Roam for their personal knowledge management.

pawel-cebula commented 3 years ago

Looks like support was just added, closing this request!