Skip to content

Support fenced code blocks in Atlassian Document Format converter

What does this MR do?

Outputs a fenced code block with the language specifier, instead of using the standard Markdown format which doesn't support the language.

So this

* Item 1
  
      public DemoClass()
      {
        // assign default value
        x = 0;
      }

becomes this

* Item 1
  
  ```java
  public DemoClass()
  {
    // assign default value
    x = 0;
  }
  ```

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #223097 (closed)

Edited by Brett Walker

Merge request reports