• Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Hi!

      It would be nice to see .. code-block:: directive in reStructuredText parser so that your code gets syntax highlighted (see sphinx http://sphinx.pocoo.org/markup/code.html ).

            [BCLOUD-2698] Add .. code-block:: directive to README.rst

            psam added a comment -

            Consider this issue as dead, better off follow (and vote) the - still alive - problem at BCLOUD-12191

            psam added a comment - Consider this issue as dead, better off follow (and vote) the - still alive - problem at BCLOUD-12191

            Just realized I got married and divorced while this bug was opened haha

            Kon Rybnikov added a comment - Just realized I got married and divorced while this bug was opened haha

            It is not possible for this to be a dupe of BCLOUD-2288 as marked, because BCLOUD-2288 is resolved, and this issue is not addressed at all.

            Over 6 years later, we'd still love to have bitbucket support syntax highlighting.

            andydecleyre added a comment - It is not possible for this to be a dupe of BCLOUD-2288 as marked, because BCLOUD-2288 is resolved, and this issue is not addressed at all. Over 6 years later, we'd still love to have bitbucket support syntax highlighting.

            How this is a duplicate of BCLOUD-2288 ?

            This is not about rst support, it is about syntax highlighting block of code within a special directive in rst files.

            Edit: Figure out it is more a duplicate of BCLOUD-7557

            Fabien Ninoles added a comment - How this is a duplicate of BCLOUD-2288 ? This is not about rst support, it is about syntax highlighting block of code within a special directive in rst files. Edit: Figure out it is more a duplicate of BCLOUD-7557

            Duplicate of BCLOUD-2288.

            aMarcus (Inactive) added a comment - Duplicate of BCLOUD-2288 .

            percipio added a comment -

            Neither of
            .. code-block::
            (see https://bitbucket.org/percipio/test-readme_rst-code-block-directive for a failing test.)

            nor
            .. code::
            (see https://bitbucket.org/percipio/test-readme_rst-code-directive for a failing test.)

            seem to work for the readme.rst files

            percipio added a comment - Neither of .. code-block:: (see https://bitbucket.org/percipio/test-readme_rst-code-block-directive for a failing test.) nor .. code:: (see https://bitbucket.org/percipio/test-readme_rst-code-directive for a failing test.) seem to work for the readme.rst files

            Duplicate of BCLOUD-2288.

            Dylan Etkin added a comment - Duplicate of BCLOUD-2288 .

              Unassigned Unassigned
              9ae1e56184c2 Kon Rybnikov
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: