Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-20503

Markdown failed to render properly if there are multiple lines within the code block

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • Product - Markdown
    • None

    Description

      Issue Summary

      Markdown failed to render properly if there are multiple lines within the code block

      Steps to Reproduce

      1. Create Readme.md
      2. Add the following markdown
        # Test
            ```sh
            # Test
            # Test
            sudo apt install 
        
            # Test
            # Test
            sudo apt-get update
            ```
        

      Expected Results

      The Markdown is properly render

      Actual Results

      The markdown is not render properly

      Workaround

      There Workaround is to split the code block into multiple part rather than one code block

      Attachments

        Activity

          People

            Unassigned Unassigned
            mabdrahim Syahrul
            Votes:
            7 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: