Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-8589

Support fenced code block language hints in Markdown files

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Invalid
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      GitHub has a feature which allows blocks of code to use different CodeMirror modes in a single source file. https://help.github.com/articles/creating-and-highlighting-code-blocks/

      It also uses a case insensitive compare and aliases when parsing the code type: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml#L2429

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            abromberg Aaron Bromberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but there is no synchronization info for this issue.