Syntax highlighting for inline code/code block #758
yoonwaiyan
started this conversation in
Feature Requests
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This has become a pretty standard feature for any editor that supports inline code and code blocks. Would be delighted to see this being implemented in Athens. There are some native JS libraries to support syntax highlighting, which could help reduce the development effort needed for this. Besides, I think the parsing for code blocks needs to be improved, as I see from the screen that when I input a language in an attempt to try out whether there's any syntax highlighting, the code block is displaying the language in the code block for reading mode:
Edit mode:

Reading mode:

Edit: I also realized multi-line blocks are displayed as one-liner instead, and pasting from external sources created multiple editor blocks instead of being pasted properly inside the code block.
Beta Was this translation helpful? Give feedback.
All reactions