Can I check - is there any way to keep using the n...
# how-do-i
k
Can I check - is there any way to keep using the new PR page, but still use markdown formatting for comments? The new rich text editor seems incapable of some things that are really easy if you're comfortable with Markdown. I like the new PR page, but I'm finding myself having to jump back to the old PR page just to leave the comment I want. If that's no longer an option, I honestly think I'll give up on using Graphite for reviews altogether
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
k
To add some detail - I can use basic markdown, but lots of more 'complex' markdown is interpreted poorly. E.g. I type ````` to start a code block - that's ok. When I go to close the code block, the first backtick I type means that whole block is interpreted as inline code. Each subsequent backtick then seems to wrap that inline code with another layer of inline code. I often like annotating a code block with the language too, which I can't find a way to do in the rich text editor Also took me a while to figure out the behaviour for newlines with nested bullets, whereas I just know how to do all this stuff in markdown already
p
Thanks for flagging, Kieron. There isn't a way to write comments in Markdown on the new page, but it's helpful to know you'd like to see that option. I'm checking with the team on your report around oddities with code blocks. We're working on a lot of improvements there, fortunately.
You can change the language in the code block here, for now:
I may be misunderstanding, but if you're trying to "exit" the code block, you should just be able to hit Left arrow or Down arrow to move your cursor out of the code block?
a
I've found that typing ``` will start a new code block, but only when at the beginning of a comment, interestingly.
p
Hm, is that happening consistently for you? I'm not able to reproduce, and able to place codeblocks anywhere in my comments: