I am coming from GitLab which as the option on merge requests to switch the description editor between Rich text and Markdown. I prefer to type things up in Markdown, and sometimes do it elsewhere and then copy and paste into the description. There seems to me no way to do this in Bitbucket Cloud. If I do `ctrl+v`, Bitbucket automatically inserts a code block and puts the Markdown in that as code. If I do `ctrl+shift+v`, the Markdown just gets pasted as regular text.
I know that I can use Markdown as I type and it will format as I go, but this is not what I am looking for. I need the ability to edit raw Markdown.
It is not supported, you are right, and I miss that feature as well.
What I also noticed (but haven't tried) that the REST API which updates a pull request accepts the description in multiple formats, and there is a field dedicated to markup (markdown).
Request body:
"rendered": {
...
"description": {
"raw": "<string>",
"markup": "markdown", <---- see this!
"html": "<string>" },
...
I may worth a try.
Thanks. It is good to know that this is an option, though it doesn't replace the need for the functionality in the editor in the browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.